Images, Greyscale and Joomlapolis

11 years 10 months ago #163146 by customs
Images, Greyscale and Joomlapolis was created by customs

I don't know how to do it, but when I checked I came across the following php code for presenting images in greyscale:

$image = imagecreatefrompng('nathalie.png');

imagefilter($image, IMG_FILTER_GRAYSCALE);

imagepng($image, 'img_filter_grayscale.png');


Would there be a way to integrate the above code with the Joomlapolis CB login (as a plugin?) so that site visitors would only see images in greyscale, yet logged in members would be able to see images in full colour?

Appreciate any suggestions.


Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.145 seconds

Facebook Twitter LinkedIn