?
avatar zluzunov
zluzunov
22 Sep 2017

Steps to reproduce the issue

  • Enable Experimental URL Routing and Remove IDs for Articles, Contacts, News Feeds, and Users;
  • Use an image with name corresponding to the pattern "number-imagename.jpg", e.g. "6-cats.jpg" in a custom HTML module or an article. The image can be also references in a css style of the template;

Expected result

Images should load without problems.

Actual result

Images do not load - browsers report them as missing.

System information (as much as possible)

Additional comments

Fix: rename the images and change the URLs to them;

avatar zluzunov zluzunov - open - 22 Sep 2017
avatar joomla-cms-bot joomla-cms-bot - change - 22 Sep 2017
Title
New Routing System: Remove IDs from URLs breaks links to images with names like <number>-imagename.jpg
New Routing System: Remove IDs from URLs breaks links to images with names like -imagename.jpg
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 Sep 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 22 Sep 2017
Category Router / SEF
avatar joomla-cms-bot joomla-cms-bot - edited - 22 Sep 2017
avatar mbabker
mbabker - comment - 22 Sep 2017

Images shouldn't be going through the routing system at all. @Hackwar any ideas here?

avatar franz-wohlkoenig franz-wohlkoenig - change - 22 Sep 2017
Status New Discussion
avatar Bakual
Bakual - comment - 22 Sep 2017

@mbabker The SEF plugin may play a role here? It does all kind of funny things ?

avatar Gitjk
Gitjk - comment - 22 Sep 2017

Can't confirm that behavior with my local J3.8.0 installation. Created and inserted an image file named 6-cats.jpg. It loads in an article and also in a custom module, both with 'Remove IDs from URLs' enabled/disabled using the new router.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18070.

avatar zluzunov
zluzunov - comment - 22 Sep 2017

Could be an issue with the template framework. I Will try to reproduce in a new installation on the same server, without extensions and template and report here.
Some more info:

  • The template uses this framework YJ Simple Grid
  • links are relative:
  • Custom HTML module uses template framework
<p><em>[yjsgimgs image="images/00home/10-Soil-Cut-x700.jpg" class="radiusb10" title="Field practice 1" link="" target="" effect="none"]</em></p>
<p><em>[yjsgimgs image="images/00home/6-Cut-x700.jpg" class="radiusb10" title="Field practice 1" link="" target="" effect="none"]</em></p>
  • CSS code that did not load properly:
/*Baseline intro*/
.baseline-intro {
	color: #fff;
	background: url(../images/home/10-Soilx1024.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
}
avatar zluzunov zluzunov - change - 22 Sep 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-09-22 17:17:46
Closed_By zluzunov
avatar zluzunov zluzunov - close - 22 Sep 2017
avatar zluzunov
zluzunov - comment - 22 Sep 2017

Blushing - tested, my error, I am sorry about the spam.
Forgotten redirection rule in the htaccess. I will test twice before reporting next time.
Thank you for your time!

Add a Comment

Login with GitHub to post a comment