Page 1 of 1
Image Size Beside Category Name
Posted: 03 Apr 2010, 14:41
by Nabucco
Hi! Thanks for this gallery, it's the best one, but i have a problem...
After installing orange theme i can't set "Image Size Beside Category Name" on MEDIUM anymore... it remains small.
I've tried to restore default theme, nothing.
I've tried to unistall and reinstall phoca, nothing.
Re: Image Size Beside Category Name
Posted: 04 Apr 2010, 13:14
by Jan
Hi, this should not depend on the theme. Did you set it in parameters component in menu link to gallery (for Categories View):
https://www.phoca.cz/documents/16-joomla ... -in-joomla
Jan
Re: Image Size Beside Category Name
Posted: 04 Apr 2010, 17:18
by Nabucco
Hi Jan! Thanks for your answer and for your work with phoca!
Image Size Beside Category Name is perfect now (i'm sorry for mistake with Component Parameter), but i have another problem with thumbnails...
I've read and followed the guide to resize thumbnails (
https://www.phoca.cz/documents/2-phoca-g ... w-resizing ) and the images shadows3 and shadow2 are correctly applied after editing (i verified it with firebug). But Thunbnails are still small (althought thumbnails recreating) and the box around shadow2 (phocagallery-box-file-first) is still small, so it can't contain it.
I can't understand...
Thanks!
Re: Image Size Beside Category Name
Posted: 08 Apr 2010, 11:10
by Jan
Hi, can I see some screenshot?
Re: Image Size Beside Category Name
Posted: 08 Apr 2010, 12:28
by Nabucco
Hi Jan!
This is the website:
http://icooleys.netsons.org/icooleys/in ... &Itemid=59
Orange frame is not visible (this orange frame:
http://icooleys.netsons.org/icooleys/in ... &Itemid=59 ) and thumbnails remain small.
I set "shadow 200x200" in Image Background Shadow and with firebug you can see that there is the right image (shadow2.png 218x218) in phocagallery-box-file-first:
background:transparent url(/icooleys/components/com_phocagallery/assets/images/shadow2.png) no-repeat scroll 50% 50%;
Anyway, thumbnail is still small and the box around picture too small, so orange frame is not visible.
Thanks!
Re: Image Size Beside Category Name
Posted: 08 Apr 2010, 12:54
by Nabucco
I've tried to resize manually the box editing default.php in components/com_phocagallery/views/category/tmpl
// Height of all boxes
$imageHeight = PhocaGalleryImage::correctSize($this->tmpl['imageheight'], 200, 200, 0);
$imageWidth = PhocaGalleryImage::correctSize($this->tmpl['imagewidth'], 200, 220, 20);
Now orange frame is visible, but thumbnails are still small:
http://img534.imageshack.us/img534/6196/bigbox.png
Re: Image Size Beside Category Name
Posted: 14 Apr 2010, 18:26
by Jan
Hi, if you want to resize thumbnails, you need to set size for them and then recreate them.
https://www.phoca.cz/documents/2-phoca-g ... w-resizing
Jan
Re: Image Size Beside Category Name
Posted: 18 Apr 2010, 13:20
by Nabucco
SOLVED!
After following the "Guide to resize thumbnails" (
https://www.phoca.cz/documents/2-phoca-g ... w-resizing ), you must set the right size in "Images and Windows Size Settings" (in Phoca Parameters).
So if i create a 200x200 shadow as medium image, then i must set 200x200 for medium image width and height in "Images and Windows Size Settings". Unluckly this setting resizes both thumbnails and boxes around the thumbnails, there isn't different settings for each one, but it's ok.
I think it would be useful to add this step in the "Guide to resize thumbnails".
Thanks for the assistance and good work with Phoca!
