Art Gallery questions

Hi. I’m currently trying to build a web-site for an artist I know.
I have made a php script that may insert the thumbnails on auto-pilot by reading them out of particular folders, so all that is required is to breakup with more pics within the folders, it succeeds fine.

A couple questions:

A SINGLE:
Each one pic is surrounded by an < a> tag considering the href being something like " large_pics/". $file. ". php" so each picture automatically points towards the php page with the large version of the pic on the item. For example " large_pics/still_life. php" and so on. etc.

Now if i wanted to merely make one article " large_pic. php" and insert that relevant pic in it would better IMHO – singular page to compose, more flexibility, and so on. etc.

Just how do i pass the info from your thumbnails page into the large_pic page with regards to which pic it really is All I have to send is this variable " $file" by one page for you to another, so you select the thumbnail point out " still_life" and it also opens " large_pic. php" and also inserts the " $file" straight into it (in this particular case " still_life" ) in php POST can’t find how to do it without resorting to an invisible form, cookies, sessions for example. etc. – My business is half thinking with regards to bringing SQL straight into do it, which could also store information on pricing, whether the pic is sold or available and so on. Would this possibly be better How does one do it

3: Layout: Some photos are large in addition to oblong, some tend to be small and square etc. etc. – how does one do the layout with the thumbnails page At the moment I’m going for the proven " take a square snapshot of an portion of your pic then screen as square thumbnail" procedure – then showcase using php when pics surrounded by way of < a> tags – works a goody. However do you think it would better to try to retain the original model of each pic Whereby this makes the display each of the more complicated, obviously.

Views Thanks. Hope POST explained that properly……

BTW – you need to move this line if it belongs within the php section.

1) I would likely use an MySQL database if you can not already and give each picture the id. You may then pass that id within the URL. www. site. com/gallery. phpid=1

If you are not using a single www. site. com/gallery. phpphoto=blah

With your script you can then have the perform displayOneItem($_GET’photo’);

Great stuff Perad, gives thanks. Edit – simply tried the " $GET" thing – worked a goody many thanks. I will bring in SQL now wherever I need, either before or after this stage.

Any individual got a format opinion on problem no. 2

I do think you should keep it as squares, you honestly cannot make a mistake with it.

What will introducing shapes present you with

Ah ’tis absolutely no big deal truly, it’s just that it was a mild request in the artist, they just inquired whether it was possible – POST suppose because most of the pics are oblong they desired to get the whole pic while in the thumbnail.
I agree to you though – in which I look that galleries have squares on them is very much the norm.

Thanks completely for your assistance Perad, appreciate this……

This entry was posted in Web Design and tagged , , , , , , , , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *