COMMUNITY FORUM
- Forum
- Commercial Joomla Extensions & Templates
- Simple Image Gallery PRO
- Single Thumbnail Image not fitting into specified size
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Single Thumbnail Image not fitting into specified size
- Vinayak Shankar
- Topic Author
- Offline
- New Member
Less
More
15 years 4 months ago - 15 years 4 months ago #26573
by Vinayak Shankar
Single Thumbnail Image not fitting into specified size was created by Vinayak Shankar
Hi
I have used the simple image gallery pro in developing a site. It works great but I have an issue when I try to create a single thumnail the image doesnt use the viewports to the width and height I specify. Although when I Create a list of thumnails it works beautifully. I need to be able to create a single thumnail of my own size where the image would use the viewport specifed in the parameters. Also I am using the slimbox pop up engine. the default size specifed in the plugin is width 200 height 120 , display mode by default is normal and I use the following command to override the same {gallery}maneeshfarewell:450:338:1:0{/gallery} . The original Image is off a the size 800 * 600. Please find the attached file for the image.
Regards
Vinayak
I have used the simple image gallery pro in developing a site. It works great but I have an issue when I try to create a single thumnail the image doesnt use the viewports to the width and height I specify. Although when I Create a list of thumnails it works beautifully. I need to be able to create a single thumnail of my own size where the image would use the viewport specifed in the parameters. Also I am using the slimbox pop up engine. the default size specifed in the plugin is width 200 height 120 , display mode by default is normal and I use the following command to override the same {gallery}maneeshfarewell:450:338:1:0{/gallery} . The original Image is off a the size 800 * 600. Please find the attached file for the image.
Regards
Vinayak
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
15 years 4 months ago #26574
by Yiota
Replied by Yiota on topic Re: Single Thumbnail Image not fitting into specified size
So if I understand correctly you have a problem with the viewport options that don't work in single thumbnail mode, right?
Please Log in or Create an account to join the conversation.
- Vinayak Shankar
- Topic Author
- Offline
- New Member
15 years 4 months ago #26575
by Vinayak Shankar
Replied by Vinayak Shankar on topic Re: Single Thumbnail Image not fitting into specified size
Exactly!!!!
Please Log in or Create an account to join the conversation.
- elanishere
- Offline
- New Member
Less
More
- Posts: 2
15 years 4 months ago #26576
by elanishere
Replied by elanishere on topic Re: Single Thumbnail Image not fitting into specified size
I am having a similar issue on a site I am developing: belleboutique.com/index2.php?option=com_content&view=article&id=55&Itemid=53
The thumbs are not resizing properly to fit the viewport.
It worked last night. I had made some changes to get the "li.sig-block" in the default template thumbnail display to work properly in IE7... I added this to the template_ie7.css file.
li.sig-block {display:inline; }
Also, I added a white bg and changed the margin on the shadow at the bottom-left of the "li.sig-block span.sig-link-innerwrapper", which was not looking right and was missing the left-border because of an indent ("margin:-5px 0 0 -5px;") so I removed the "-5px" margin on the left and added a "background:#fff;" as follows
li.sig-block span.sig-link-innerwrapper { display:block; float:left; margin:-5px 0 0 0; padding:4px; border:1px solid #ccc; background:#fff; }
These were the only changes I made last night and everything worked just fine. Then I woke up in the morning, saved/closed the admin window for the sigpro plugin and all of the sudden none of the images in the cache folder were re-sized to the viewport correctly. It appears as if the option to "fit to viewport" is turned off, even though I have it turned on in the admin.
The horizontal images where the correct width (200px), but not the correct height ("133px" instead of "165px;"). The vertical images were the correct height (165px), but not the correct width. I changed the dimensions of the viewport to 210x140 instead of 200x165, just to make the wrapper fit around the horizontal images correctly.
Can you help... sorry for the lengthy description, but I figured the more info the better :-)
The thumbs are not resizing properly to fit the viewport.
It worked last night. I had made some changes to get the "li.sig-block" in the default template thumbnail display to work properly in IE7... I added this to the template_ie7.css file.
li.sig-block {display:inline; }
Also, I added a white bg and changed the margin on the shadow at the bottom-left of the "li.sig-block span.sig-link-innerwrapper", which was not looking right and was missing the left-border because of an indent ("margin:-5px 0 0 -5px;") so I removed the "-5px" margin on the left and added a "background:#fff;" as follows
li.sig-block span.sig-link-innerwrapper { display:block; float:left; margin:-5px 0 0 0; padding:4px; border:1px solid #ccc; background:#fff; }
These were the only changes I made last night and everything worked just fine. Then I woke up in the morning, saved/closed the admin window for the sigpro plugin and all of the sudden none of the images in the cache folder were re-sized to the viewport correctly. It appears as if the option to "fit to viewport" is turned off, even though I have it turned on in the admin.
The horizontal images where the correct width (200px), but not the correct height ("133px" instead of "165px;"). The vertical images were the correct height (165px), but not the correct width. I changed the dimensions of the viewport to 210x140 instead of 200x165, just to make the wrapper fit around the horizontal images correctly.
Can you help... sorry for the lengthy description, but I figured the more info the better :-)
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
15 years 4 months ago #26577
by Yiota
Replied by Yiota on topic Re: Single Thumbnail Image not fitting into specified size
@Vinayaks01 and @elanishere
The images resize proportionally and they can't fit exactly the given size, for instance if you have put in viewport options w:200 and h:250 and the image is 800x600 the image thumbnail created would be with w:200 and h:150.
The images resize proportionally and they can't fit exactly the given size, for instance if you have put in viewport options w:200 and h:250 and the image is 800x600 the image thumbnail created would be with w:200 and h:150.
Please Log in or Create an account to join the conversation.
- elanishere
- Offline
- New Member
Less
More
- Posts: 2
15 years 4 months ago #26578
by elanishere
Replied by elanishere on topic Re: Single Thumbnail Image not fitting into specified size
Ah... I see, so to really have the images "fill" the viewport, you have to turn "fit to viewport" off. Sorry, but the semantics of " to fit" I thought meant "to fill", however in jwsigpro "to fit" means to proportionally resize the image to "fit" the largest dimension given in the admin and no bigger. My stupid fault :-(
Please Log in or Create an account to join the conversation.
- Forum
- Commercial Joomla Extensions & Templates
- Simple Image Gallery PRO
- Single Thumbnail Image not fitting into specified size