{gallery} tag
{gallery} tag
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.
Can anyone recommend an alternative photo gallery plugin?
Originally posted under Modules / Add-ons.
Can anyone recommend an alternative photo gallery plugin?
Originally posted under Modules / Add-ons.
-
- Forum Members
- Posts: 44
- Joined: Wed Oct 12, 2005 8:50 pm
Re: {gallery} tag
Give their container (div) a suitable width (like the width of three thumbnails plus some padding) and then add float:left; to the class you are using to target the image entries themselves.
Re: {gallery} tag
Thanks Timothy, which stylesheet would it be best to add the ImageGallery CSS to?
-
- Forum Members
- Posts: 44
- Joined: Wed Oct 12, 2005 8:50 pm
Re: {gallery} tag
I set my sites up a little differently, with link tags for the style sheets - hard coded into the template (I'm a bit fussy when it comes to proper indentation, so I like to use SciTe to create them and upload to the root via ftp), but a quick look at the admin suggests you should probably create a template just for your gallery and attach a new style sheet to that.
Re: {gallery} tag
telmaw did you get your Gallery working?
Russ
Russ
Last edited by Russ on Sun Jun 25, 2006 8:08 am, edited 1 time in total.
Re: {gallery} tag
Can you please explain how and where to do this?Give their container (div) a suitable width (like the width of three thumbnails plus some padding) and then add float:left; to the class you are using to target the image entries themselves.
Re: {gallery} tag
Hi slloyd,
well it would be a mixture of the template or the CSS, depending on how you are doing it.
Do you have a page you can post and any furthe explanation...
You might also want to look at the Album module which is very cool....
Russ
well it would be a mixture of the template or the CSS, depending on how you are doing it.
Do you have a page you can post and any furthe explanation...
You might also want to look at the Album module which is very cool....
Russ
Re: {gallery} tag
Here's the page:
http://jacoblloyd.com/index.php?page=pf_061006
Anytime I ever upload images in the Image Manager, the thumbnails do not display.

This is true of all of my sites using cms.
Where can I find the Album module? I'll look for it, but in case I can't find it, can you tell me?
http://jacoblloyd.com/index.php?page=pf_061006
Anytime I ever upload images in the Image Manager, the thumbnails do not display.

This is true of all of my sites using cms.
Where can I find the Album module? I'll look for it, but in case I can't find it, can you tell me?
Re: {gallery} tag
Not sure what this is doing in your stylesheet, but removing it will allow the images to float to the left as required. (It may make some other things change as it shouldn't be there.)
It is just above the bit
As for the thumbnails, I can't seem to see the thumbnails if I try to go to where they should be e.g.
/uploads/images/pf_061006/thumb_2.jpg
So I guess they are not being created or the path is wrong. Check the rights on the uploads directory and sub directories and also the path from upload in your config. (You'll have to re-use image manager to upload the pics to get the thumbnails or manually create the thumbs and upload them.) Last but not least watch the file extensions, on many web servers '.JPG' is different to '.jpg', probably best to keep it all lower case.
Look under the development section of this web site for the album module.
Hope this helps.
Russ
Code: Select all
/* CONTENT */
div#content {
}
/* MAIN */
div#main {
}
/* END MAIN */
/* SUB */
div#sub {
}
/* END SUB */
<div id="Description">
{content block='Description'}
</div>
<div id="Keywords">
{content block='Keywords'}
</div>
<div id="News">
{content block='news'}
</div>
It is just above the bit
Code: Select all
/* Image Gallery - Small Thumbnail Images */
/uploads/images/pf_061006/thumb_2.jpg
So I guess they are not being created or the path is wrong. Check the rights on the uploads directory and sub directories and also the path from upload in your config. (You'll have to re-use image manager to upload the pics to get the thumbnails or manually create the thumbs and upload them.) Last but not least watch the file extensions, on many web servers '.JPG' is different to '.jpg', probably best to keep it all lower case.
Look under the development section of this web site for the album module.
Hope this helps.
Russ
Re: {gallery} tag
I friend told me to add that to the stylesheet. I removed it. Thanks.
I'm afraid to upload any new modules since I haven't done that before and the last thing I need is more problems. I'm not as well versed on this stuff as you guys!
Okay, I discovered something very weird about the thumbnail images in image manager. The images (thumbnails) that are not showing have permissions set to 664 (I think that's how you read it) and have "apache" listed as the user. The ones that do appear (thumbnail images) have permissions set to 644 with me as the user.
It should be noted that it was after I moved the site to a new server that this started happening. Also, the new sites that I've created on the new server are doing the same thing. Also, any new images I add do not show the thumbnails and list "apache" as the user.
I tried changing the permissions, but it won't let me. I hope you can help me! I'd like to get this fixed on all of my sites!
Thanks for the help!
I'm afraid to upload any new modules since I haven't done that before and the last thing I need is more problems. I'm not as well versed on this stuff as you guys!
Okay, I discovered something very weird about the thumbnail images in image manager. The images (thumbnails) that are not showing have permissions set to 664 (I think that's how you read it) and have "apache" listed as the user. The ones that do appear (thumbnail images) have permissions set to 644 with me as the user.
It should be noted that it was after I moved the site to a new server that this started happening. Also, the new sites that I've created on the new server are doing the same thing. Also, any new images I add do not show the thumbnails and list "apache" as the user.
I tried changing the permissions, but it won't let me. I hope you can help me! I'd like to get this fixed on all of my sites!
Thanks for the help!
- Elijah Lofgren
- Power Poster
- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
- Location: Deatsville, AL
Re: {gallery} tag
Modules have never messed up any of the CMSMS installs that I have done, so you should be safe, especially with the Album module.slloyd wrote: I'm afraid to upload any new modules since I haven't done that before and the last thing I need is more problems. I'm not as well versed on this stuff as you guys!

Hmm... That's odd.slloyd wrote: Okay, I discovered something very weird about the thumbnail images in image manager. The images (thumbnails) that are not showing have permissions set to 664 (I think that's how you read it) and have "apache" listed as the user. The ones that do appear (thumbnail images) have permissions set to 644 with me as the user.
It should be noted that it was after I moved the site to a new server that this started happening. Also, the new sites that I've created on the new server are doing the same thing. Also, any new images I add do not show the thumbnails and list "apache" as the user.
I tried changing the permissions, but it won't let me. I hope you can help me! I'd like to get this fixed on all of my sites!
Thanks for the help!
I would try changing the ownership of files back to you and then try changing the permissions.
like this:
Code: Select all
chown youruser:yourgroup file.jpg
Code: Select all
chown youruser:yourgroup folder -Rv
What FPT client are you using to upload files?
I'm afraid you'll still have problems with thumnails with Album unless thumbnails work in the Image Manager since Album uses the Image Manager to generate thumbnails.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 

Re: {gallery} tag
i've never "seen" the thumbnails with image manager...
only when i FTP to my site and open the images folder...
i make thumbs by opening IM and viewing the images, also look in any folders you might have uploaded to make thumbs in there...
they default to 96px wide... and have thumb_sample.jpg ...
only when i FTP to my site and open the images folder...
i make thumbs by opening IM and viewing the images, also look in any folders you might have uploaded to make thumbs in there...
they default to 96px wide... and have thumb_sample.jpg ...
Re: {gallery} tag
Yes I think Elijah is right as I mentioned before it is proabably a rights / owenership thing. also do not forget that Image Manager needs to be able to right the thumbnail images.
Perhaps slloyd, you should consider a local server on your machine for development and testing? It makes life a lot easier
Russ
Perhaps slloyd, you should consider a local server on your machine for development and testing? It makes life a lot easier

Russ
Re: {gallery} tag
That went completely over my head. I have no idea what you're referring to. Sorry!I would try changing the ownership of files back to you and then try changing the permissions.
like this:Or for a whole folder of files:Code: Select all
chown youruser:yourgroup file.jpg
Code: Select all
chown youruser:yourgroup folder -Rv
No. Any new photos I upload show up in Image Manager as a white box with the red x -- just the thumbnails. The photos show up fine on my site, just no thumbnails.Also, Do thumbnails for pictures that you upload throught the file manager get created fine?
I don't use an FTP client for uploading files. I create my files in cms.What FPT client are you using to upload files?
That's what I figured. Thanks for your help!I'm afraid you'll still have problems with thumnails with Album unless thumbnails work in the Image Manager since Album uses the Image Manager to generate thumbnails.
Re: {gallery} tag
So you FTP all of your images? Then what's the IM for? I'm confused.mark wrote: i've never "seen" the thumbnails with image manager...
only when i FTP to my site and open the images folder...
i make thumbs by opening IM and viewing the images, also look in any folders you might have uploaded to make thumbs in there...
they default to 96px wide... and have thumb_sample.jpg ...