base64 encode method of displaying images don't work!

Status: finished.
This is a bugfix release with a limited set of new features.

Moderator: And_One

cookiebtfc
.
Posts: 29
Joined: Wed May 04, 2011 2:58 pm

base64 encode method of displaying images don't work!

Postby cookiebtfc » Fri May 20, 2011 1:55 pm

As everybody knows the developers changed the method of displaying some of the images in joomleague a while ago to base64, the result being some images are no longer viewable in Internet Explorer 7 or 8. Whilst I appreciate the browsers are not great compared to firefox, chrome etc the fact is it is this decision impacts the millions of IE users.

The attitude is its a browser problem and not a joomleague one so a fix isn't going to be forthcoming, let alone logged as a bug.

Can anybody please supply a zip of 1.5.1 before the change was made so I can apply the previous working logic to my pages?

Thanks.

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: base64 encode method of displaying images don't work!

Postby timoline » Fri May 20, 2011 2:31 pm

if you install a version before the change, you will have many,many other problems.
Ofcourse there is a reason we made this change, but I dont know if we can "disable" the base64?
Joomla 1.5.x
Joomleague 1.5.....latest git version

And_One
Joomleague Project Manager, Donator
Joomleague Project Manager, Donator
Posts: 3609
Joined: Fri Sep 11, 2009 4:00 pm
Joomleague version: 2.0.x
Location: Graz
Contact:

Re: base64 encode method of displaying images don't work!

Postby And_One » Fri May 20, 2011 2:37 pm

affected are only png images with a transparent background due the ie png limitation. am i right here, that if you specify jpg as rendering method inside the joomleague global settings every image (except an image with transparent background) is rendered correct?

what i could implement is a global setting if the serverside phpthumblib should be used or just the client side. would that solve your problem with ie?

create a fr ticket if you want that new global setting to be implemented.

cookiebtfc
.
Posts: 29
Joined: Wed May 04, 2011 2:58 pm

Re: base64 encode method of displaying images don't work!

Postby cookiebtfc » Fri May 20, 2011 2:42 pm

Hi Timoline - I'm no PHP expert but I'd like to be able to add a function into the jlcommon.php file that will display images without the base64 method, like they were previously, and call it from pages such as the Match Reports, Club Info and Squad Roster etc.

I kind of understand the reasons why the change was made but I'm struggling to understand the stance being taken when it has taken away functionality that existed before.

Thanks.

cookiebtfc
.
Posts: 29
Joined: Wed May 04, 2011 2:58 pm

Re: base64 encode method of displaying images don't work!

Postby cookiebtfc » Fri May 20, 2011 3:06 pm

And_One wrote:affected are only png images with a transparent background due the ie png limitation. am i right here, that if you specify jpg as rendering method inside the joomleague global settings every image (except an image with transparent background) is rendered correct?


Hi And_One - No, all images are affected in IE7 but jpg partially display in IE8, I recall reading something about the first 32k only. You can see this on this site using IE8 what I mean - http://www.tauntonrfc.co.uk/match-info/ ... r-profiles or see image file attached.
You do not have the required permissions to view the files attached to this post.

And_One
Joomleague Project Manager, Donator
Joomleague Project Manager, Donator
Posts: 3609
Joined: Fri Sep 11, 2009 4:00 pm
Joomleague version: 2.0.x
Location: Graz
Contact:

Re: base64 encode method of displaying images don't work!

Postby And_One » Fri May 20, 2011 3:58 pm

Which Joomla Template is used here? Any special Framework like Gantry?

cookiebtfc
.
Posts: 29
Joined: Wed May 04, 2011 2:58 pm

Re: base64 encode method of displaying images don't work!

Postby cookiebtfc » Fri May 20, 2011 4:13 pm

That isn't my site, an example of what is happening.

My test site is using the default joomla template JA Purity at the moment.

There is a fair amount online about the non-compatibility of base64 method with IE7 & IE8.

And_One
Joomleague Project Manager, Donator
Joomleague Project Manager, Donator
Posts: 3609
Joined: Fri Sep 11, 2009 4:00 pm
Joomleague version: 2.0.x
Location: Graz
Contact:

Re: base64 encode method of displaying images don't work!

Postby And_One » Fri May 20, 2011 4:33 pm

And_One wrote:affected are only png images with a transparent background due the ie png limitation. am i right here, that if you specify jpg as rendering method inside the joomleague global settings every image (except an image with transparent background) is rendered correct?

what i could implement is a global setting if the serverside phpthumblib should be used or just the client side. would that solve your problem with ie?

create a fr ticket if you want that new global setting to be implemented.


i quote myself, feel free to open a feature request ticket as mentioned above ;)

cookiebtfc
.
Posts: 29
Joined: Wed May 04, 2011 2:58 pm

Re: base64 encode method of displaying images don't work!

Postby cookiebtfc » Fri May 20, 2011 6:18 pm

is that a new feature request or just to fix what got broken by a previous feature request ;)

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: base64 encode method of displaying images don't work!

Postby timoline » Sun May 22, 2011 6:48 pm

http://bugtracker.joomleague.at/redmin ... hange-5018

please test the latest git....
dont forget to change/save the setting in global settings
Joomla 1.5.x
Joomleague 1.5.....latest git version

cookiebtfc
.
Posts: 29
Joined: Wed May 04, 2011 2:58 pm

Re: base64 encode method of displaying images don't work!

Postby cookiebtfc » Mon May 23, 2011 8:23 pm

Hiya - Brilliant, thank you soooo much!

I've just tested and the large logos appear perfectly on the match reports, however the ones on the Club Info page seem to have a width of 300px despite the image being 150, any ideas?

http://btfc-joomla-2.pdsupport.net/joom ... &Itemid=13

THANKS AGAIN!!!

And_One
Joomleague Project Manager, Donator
Joomleague Project Manager, Donator
Posts: 3609
Joined: Fri Sep 11, 2009 4:00 pm
Joomleague version: 2.0.x
Location: Graz
Contact:

Re: base64 encode method of displaying images don't work!

Postby And_One » Mon May 23, 2011 8:30 pm

check your frontend settings!!!

cookiebtfc
.
Posts: 29
Joined: Wed May 04, 2011 2:58 pm

Re: base64 encode method of displaying images don't work!

Postby cookiebtfc » Mon May 23, 2011 8:34 pm

Checking right now......pls be patient......new to all this :)

cookiebtfc
.
Posts: 29
Joined: Wed May 04, 2011 2:58 pm

Re: base64 encode method of displaying images don't work!

Postby cookiebtfc » Mon May 23, 2011 8:36 pm

Can I buy a vowel?

cookiebtfc
.
Posts: 29
Joined: Wed May 04, 2011 2:58 pm

Re: base64 encode method of displaying images don't work!

Postby cookiebtfc » Mon May 23, 2011 8:48 pm

Got it, was changing the Front End settings of the wrong project :bash:

And_One
Joomleague Project Manager, Donator
Joomleague Project Manager, Donator
Posts: 3609
Joined: Fri Sep 11, 2009 4:00 pm
Joomleague version: 2.0.x
Location: Graz
Contact:

Re: base64 encode method of displaying images don't work!

Postby And_One » Mon May 23, 2011 8:53 pm

cookiebtfc wrote:Got it, was changing the Front End settings of the wrong project :bash:


:D :confused: :gelb:

cookiebtfc
.
Posts: 29
Joined: Wed May 04, 2011 2:58 pm

Re: base64 encode method of displaying images don't work!

Postby cookiebtfc » Mon May 23, 2011 9:00 pm

LOL, thanks again.


Return to “1.5.1-daniela (Beta 1)”

Who is online

Users browsing this forum: No registered users and 1 guest

cron