Easiest Photo Gallery
Re: Easiest Photo Gallery
Hi damosky, not the ImageGallery does not paginate, it will display all the images in a folder. It is a very simple but easy to use gallery and was not intended to have such features. However, as you can control what goes in each folder you can limit the number of images and create further folders with more images. These pages could then be linked together?
Hope this hepls
Russ
P.S. When I get a bit fo free time I will have a look at pagination, it maybe possible.
Hope this hepls
Russ
P.S. When I get a bit fo free time I will have a look at pagination, it maybe possible.
Re: Easiest Photo Gallery
The photo gallery is great, and very easy to use. Can anyone tell me how to get the thumbnails to appear in a grid format (multiple columns) rather than the single column I currently have? The example from the author at http://www.cms.shoesforindustry.net/gallerya.html, for instance, show three columns. I guess I have to do something with the CSS but I don't know which file to edit. Thanks.
Re: Easiest Photo Gallery
Just set the width (in CSS) of the images.
By the way the link in your e-mail has moved to:
http://www.cms.shoesforindustry.net/cms ... lerya.html
Russ
By the way the link in your e-mail has moved to:
http://www.cms.shoesforindustry.net/cms ... lerya.html
Russ
Re: Easiest Photo Gallery
I am trying to choose an image gallery for one of my projects. It needs to be very minimalistic, that's why I like that project so much! I am in trouble at one point, I don't know how to use user images for thumbnails, which is important because the need for different cropping or grayscale version for the thumbnail. (I use the last version released here)
The only possible method I found is to hack that line to something other than thumb_, and tell the client to make a small image, rename it, and upload each thumbnail (which is a bit frustrating for the client).
2. Is it possible to see a xml or txt file parsing version in the near future? That is really needed because using name for caption or alt is a really bad option, because 1. naming restrictions on different OS-es, and 2. using file names for sorting (which is a very efficient way like 01_apple.jpg, 02_organe.jpg) makes captioning wrong (who should like to see 013_My_beautyful_house_where_I_live on a caption...) Small-term fix could be to implement a 5. option, where "basename($bigPic, $extension);" is cut from the first n characters.
3. RedGuy, the popup doesn't work right in Opera. It doesn't have bars, but the image is off-center and strongly cropped.
The only possible method I found is to hack that line to something other than thumb_, and tell the client to make a small image, rename it, and upload each thumbnail (which is a bit frustrating for the client).
Code: Select all
$thumbPic = $picFolder . 'thumb_' . $value;
3. RedGuy, the popup doesn't work right in Opera. It doesn't have bars, but the image is off-center and strongly cropped.
Last edited by zsero on Thu May 04, 2006 7:33 pm, edited 1 time in total.
Re: Easiest Photo Gallery
zsero, I will look at this when I get five minutes, I need to have a look at clean url's as well. But do not hold your breath - real busy at the moment.
Russ
Russ
Last edited by Russ on Fri May 05, 2006 5:40 am, edited 1 time in total.
Re: Easiest Photo Gallery
I'm very sorry, I don't have any time or knowledge too fix the javascript. I tried several things but it always looks very different in every browser?? I wanted the javascript too be as simple as possible, but it seems you've got to add some hacks so it work in every browser. It would be awsome if someone with good javascript knowledge could look into it? Or we could find a solid compact popup javascript?zsero wrote: 3. RedGuy, the popup doesn't work right in Opera. It doesn't have bars, but the image is off-center and strongly cropped.
thumbnail size
How do I make my thumbnail photos set to 260px? I tried changing this in the function.imagegallery.php file:
$thumbSize = @getImageSize($thumbPic) or ($thumbSize[0] = 260) and ($thumbSize[1] = 260);
and that didn't do the trick.
thanks,
clueless about php
$thumbSize = @getImageSize($thumbPic) or ($thumbSize[0] = 260) and ($thumbSize[1] = 260);
and that didn't do the trick.
thanks,
clueless about php
Re: Easiest Photo Gallery
It might be easier to use the Album plugin and the 'ThickBox' or 'ThickBoxwithNextandPrev' template. This gives a good 'pop' up.
I have an example on our test site.
http://www.cms.shoesforindustry.net/cms ... lbum-5/80/
Russ
I have an example on our test site.
http://www.cms.shoesforindustry.net/cms ... lbum-5/80/
Russ
Re: Easiest Photo Gallery
Russ, thanks for your reply. Are you saying there's no easy way to change the default thumbnail size in imagegallery? That seems odd.
Re: Easiest Photo Gallery
Sorry, didn't quite see what you meant, apologies. I don't think you can change the size of the displayed thumbnails in the script unless it is in the line you have identified. Depends how you uploaded them, using the internal uploader the thumbnails are created at 96px I think. Not sure how you change this, I usually create my own.
If anywhere it will be in the CSS, '' ??
Sorry to be so vague, I know I wrote some of this but it is ages since I used it, prefering Album because of it's flexibility.
Russ
If anywhere it will be in the CSS, '' ??
Sorry to be so vague, I know I wrote some of this but it is ages since I used it, prefering Album because of it's flexibility.
Russ
Re: Easiest Photo Gallery
from what I can tell, using the uploader, the images are made as 96px, and if you use css, you just end up stretching the picture out. Hmmm.
Re: Easiest Photo Gallery
Yes but you can make the thumbs yourself, fix one dimension (so they are all the same) and upload them and then set one dimension in CSS so that the images are correctly proportioned?
Russ
Russ
Re: Easiest Photo Gallery
sure, I can. But I liked that module because I'm making the site for someone else--and it's just so easy/convenient to have the cms make the thumbnail.