Hi, I'm hoping that this is a quick and easy fix but nothing ever seems that way.
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.
Overlib enlarge image
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Overlib enlarge image
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
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
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 15 Jun 2011, 03:51
Re: Overlib enlarge image
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.
To summarize, I want the images to be scaled up, losing quality is exactly what needs to happen.
Thanks for your support.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Overlib enlarge image
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
E.g. if there is / 3 you should change it to * 3
should be in some view:
components/com_phocagallery/views/category/ ...
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 15 Jun 2011, 03:51
Re: Overlib enlarge image
Thanks, I am investigating it now. Will update with what I find.