Page 1 of 1

? about making a small photo gallery

Posted: Sat 11. Sep 2004, 01:00
by Operator
Hi,
I am currently inserting images into my website and have two questions:

1. I want to have up to 9 thumbnails per page in my galleries. When inserting images, I can't figure out how to make them appear side by side.... they always appear below the previous image instead.

2. When clicking on a thumbnail, sometimes the image that appears in the pop-up window is smaller than the one I uploaded. Why? How can I make the pop-up image appear the the same size as original uploaded image?

ad [thanks] vance,
Mark

Posted: Sat 11. Sep 2004, 01:06
by nekket
my answer for question 2)
the image size of the popup image is a setting in conf.inc.php:

Code: Select all

$phpwcms["img_prev_width"]    = 538; //max width of the large preview image
$phpwcms["img_prev_height"]   = 400; //max height of the large preview image

thanks

Posted: Sat 11. Sep 2004, 01:22
by Operator
thank you, that worked perfectly.

I will also note, for anyone else with same issue, that after editing the config file, you must also upload your images again.

Anyone know who to answer question 1?

thanks,
m,

Posted: Sat 11. Sep 2004, 05:21
by Ben
I assume you are using the content type of images. You will need to set the columns variable to something greater than one to solve your first question.

columns

Posted: Sat 11. Sep 2004, 08:24
by Operator
I'm trying to place 9 thumbnails on a page... 3 x 3. I have been adding the images using 'content type - images' ... I've tried setting the column variable to 2 an the second image... but when I click on 'update content' it resets back to 1. That's as far as I've gotten.

Anymore advice out there?
Mark

Posted: Sat 11. Sep 2004, 08:31
by Carlos Rocha
You must play with "max.width" to limit each image width

got it

Posted: Sat 11. Sep 2004, 08:40
by Operator
ok i figured it out... i was adding each image as a seperate content type, so they were appearing vertically ... first image, then another below, and so on. When I added 3 images together in a single content type, they appeared side by side. ... then i can add another content type below that one... etc.

Posted: Sat 11. Sep 2004, 16:17
by Ben
The most correct way is to insert 9 images into one content part of 'images' and set the columns to be 3. I believe the images would be arranged with 1 through 3 in the first row and so on.

Re: ? about making a small photo gallery

Posted: Sun 14. Jun 2009, 03:43
by smorelli
Did this work for you? I can't get mine to work that way at all and it's been the biggest frustration.

Did you have to change the template from default to slider? I experimented and it did move things around but with some exposed code, etc. Overall I'm wanting the same deal with 9 photos in 3 columns. No luck for me so far.

Re: ? about making a small photo gallery

Posted: Sun 14. Jun 2009, 08:24
by flip-flop
I canĀ“t understand this problem in newer versions (1.4.x).

Insert your images into the CPs image, image <div> or image special. For the last two CPs you can edit the cp template to your needs.

Using the simple image cp insert the 9 pictures and set up [max. width:]/[max. height:] - [column:] and [image space:] for the thumbnails.

The same by using image <div> or image special -> Have a look for image <div>

Knut