Nope Shoj had it right. While technically jpeg & jpg are the same thing (I believe the jpeg was/is Macs based or something according to my old IT teacher), I did just mean the fact that it converts .jpeg to .jpg.
I had guessed at quirk. I guess you could also say it's a compatibility bug that is at best a problem with some plugins rather than WordPress itself. I guess it just depends on whether you think WordPress should fix it or if the plugin authors should. I only asked as I noticed a bug in my own plugin and a few others as they assume .jpeg will be still .jpeg when turned into a thumbnail & not changed to .jpg. I'm stuck on how to fix my plugin's problem though as it's a regex image tag finder (finds images in your post and then returns the url someone asked me to make it) but can also detect if the image was uploaded via WP and then switch between the WP thumbnail sizes. I can't seem to think of a way to check the file extension as it makes an educated guess at the url for the size you picked using the file extension of the image in the post (which if it has a jpeg file extension will be wrong). I would ask WordPress for the URL but I don't think there is a way to take a URL & find the attachment ID from it, is there? Anyway I didn't mean to burden you all with my plugin woes. Just wondered if this would be considered a bug/quirk or not. Sorry guys & gals. Paul. On 12 March 2010 01:19, Andrew Johnson <[email protected]> wrote: > I believe he means it changes from image.png to image.jpg. Correct? > > -Andrew Johnson > > > On Mar 11, 2010, at 7:15 PM, "Shoj *" <[email protected]> wrote: > > They're both extensions, but I think what he means is that image.jpeg >> turns >> into thumb.jpg, and not thumb.jpeg >> >> On 12 March 2010 01:01, Ryan Statzer <[email protected]> wrote: >> >> JPEG and JPG are the same thing though. JPG is just the file extenstion. >>> >>> On Thu, Mar 11, 2010 at 9:22 AM, Paul Robinson <[email protected] >>> >>>> wrote: >>>> >>> >>> I'm just wondering if this is a quirk/bug or not. I've just noticed that >>>> >>> if >>> >>>> you upload a jpeg file when it's thumbnails are created it makes them as >>>> jpgs. I was just wondering if it would be classed as a bug/quirk or if >>>> it >>>> is >>>> normal. I kind of assumed it would be a good idea to keep the file >>>> extension >>>> of the thumbnails consistent with the original full sized image. What >>>> >>> does >>> >>>> everyone else think? >>>> >>>> I hope this is relevent to this list, it's been quite a while since I've >>>> sent anything to it. Apologies if it isn't. >>>> >>>> Paul. >>>> _______________________________________________ >>>> wp-testers mailing list >>>> [email protected] >>>> http://lists.automattic.com/mailman/listinfo/wp-testers >>>> >>>> _______________________________________________ >>> wp-testers mailing list >>> [email protected] >>> http://lists.automattic.com/mailman/listinfo/wp-testers >>> >>> _______________________________________________ >> wp-testers mailing list >> [email protected] >> http://lists.automattic.com/mailman/listinfo/wp-testers >> > _______________________________________________ > wp-testers mailing list > [email protected] > http://lists.automattic.com/mailman/listinfo/wp-testers > _______________________________________________ wp-testers mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-testers
