Page 1 of 1

Overlib enlarge image

Posted: 15 Jun 2011, 03:58
by Joeymad
Hi, I'm hoping that this is a quick and easy fix but nothing ever seems that way. :wink:

I am working on a gallery site that utilizes very small images (like emotes and icons) and I am trying to figure out IF I can do this, let alone where to look. I would like for the Overlib popup to display a scaled-up version of the image, instead of a scaled down version (or in this case, it just displays the actual image size). Hopefully this is just a numbers game, scaling the images by 2x or something.

If anybody has any information regarding what scripts to look in and what kind of function calls I am looking for, I would be glad to give it a whirl myself. That being said, I would still appreciate if someone were to just solve it for me. :P

Re: Overlib enlarge image

Posted: 15 Jun 2011, 23:05
by Jan
Hi, no experiences there, but I think this is a problem, because if you scale an image e.g. with help of html attributes in img tag down, you will not lose the quality, but if you do it up, you will lose the quality :-(

Or you can set, medium thumbnail will be small icon and large thumbnail will be the large image - and such will be displayed in overlib. But then the code must be customized. :-(

Jan

Re: Overlib enlarge image

Posted: 15 Jun 2011, 23:28
by Joeymad
I am aware that enlarging a small image will effect image quality negatively, but in this scenario it is exactly what i want. Some of these icons have very minuscule details in it, and it is not easily noticed by the naked eye. What i hope to accomplish is the enlarging or pixelization will allow anybody to notice these details, instead of putting their face really close to the screen. I hope I am being clear in what i am trying to explain.

To summarize, I want the images to be scaled up, losing quality is exactly what needs to happen.

Thanks for your support.

Re: Overlib enlarge image

Posted: 16 Jun 2011, 00:22
by Jan
So you need to find, there the overlib will add the html attributes (width, height) and change it to some large size instaed of small size.

E.g. if there is / 3 you should change it to * 3

should be in some view:

components/com_phocagallery/views/category/ ...

Jan

Re: Overlib enlarge image

Posted: 20 Jun 2011, 02:03
by Joeymad
Thanks, I am investigating it now. Will update with what I find. 8)