VirtueMart Forum

VirtueMart 2 + 3 => Virtuemart Development and bug reports => Development & Testing => Topic started by: hpolimar on May 22, 2012, 11:06:24 am

Title: file .jpeg resizing
Post by: hpolimar on May 22, 2012, 11:06:24 am
hi!
i found something strange but i could not test it with a fresh new installation:

if for a product i upload a file .jpeg (and not .jpg), the image uploaded will be renamed to file.jpeg.jpg and so the resized one, but automatically virtuemart in the image resized location, put the filename as .jpeg instead of .jpeg.jpg, so the image is not displayed cause of wrong filename
Title: Re: file .jpeg resizing
Post by: emicoma on August 07, 2013, 23:07:03 pm
Hi
Have you found out ?
tried to modify img2thumb.php but no succes for now...
Title: Re: file .jpeg resizing
Post by: davidk20 on October 02, 2013, 10:46:31 am
Hello,

Did you find a fix for this? I am also having the same problem.

Cheers,
Dave
Title: Re: file .jpeg resizing
Post by: davidk20 on October 02, 2013, 11:32:50 am
I think I have found a fix.

Before uploading your jpeg files you must make sure that the file extension says .jpg and NOT .jpeg.
Title: Re: file .jpeg resizing
Post by: d0ublezer0 on June 09, 2016, 12:25:31 pm
Hi! I think it is not normal.
.jpeg and .jpg have the same content inside them.
Why not to allow .jpeg extension? And process him as .jpg?