Bug reports Found a bug? Post it here please.
Version 4.x > Bug reports > .jpg extensions - bug or some property is missing ? View modes: 
User avatar
Member
Member
laviniayro-yahoo - 3/16/2009 5:41:56 AM
   
.jpg extensions - bug or some property is missing ?
Hello,
I created a new document of type File and uploaded a photo. Then, on the Properties -> Urls tab i set the following properties:
Document Url path: /abc
Url extensions : .jpg
and i checked the checkbox "Use custom url path".

Then on Home page I added an "editable image" webpart and I selected the image created previously.
If i access the image with <domain>/abc.jpg the image is displayed into the browser, so the .jpg extension works.
But the problem is that on the html source of the Home page, the link to the image uses .html extension instead of .jpg

Is this a bug or there is some other property (in cmssitemanager maybe?) that has to be set ?

Thank you

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/17/2009 4:47:40 AM
   
RE:.jpg extensions - bug or some property is missing ?
Hello,

This is not a bug but it is by design. We are already aware of this and it will be improved in the next version. I am sorry for the inconvenience. The rendered HTML code is not using the custom URL paths.


Best Regards,
Juraj Ondrus