Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Individual Picture Detail
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=910
Page 1 of 2

Author:  elvislivz2 [ 23. Feb 2007, 04:31 ]
Post subject:  Individual Picture Detail

Is it possible to store and display individual details on each picture?

Author:  TinyWebGallery [ 23. Feb 2007, 09:06 ]
Post subject: 

you can use captions for every image.
If you want to e.g. display more text left and right of the pictures you can do this by using image.txt (image.php that loads the new text). But you have to switch to html mode for this because this need page reloads.

Michael

Author:  elvislivz2 [ 23. Feb 2007, 22:01 ]
Post subject:  More questions

Found some examples in the application.
Wondering about the explaination:

The files image.php, image2.php, Dill.jpg.txt, Sabrina.jpg.txt, my_config_image.php shows
how you can write individual text for each image. Copy the files to the Domai folder to
see how it works and looks like.

Q - what is the 'Domai folder'?

Author:  TinyWebGallery [ 24. Feb 2007, 01:55 ]
Post subject: 

this folder does only exist in my demo ;). You have simply adopt this exampe to your setup.

/Michael

Author:  elvislivz2 [ 24. Feb 2007, 03:05 ]
Post subject:  Demo

Can you give me a link to your demo - I am trying to see a working example and how it goes together or are their detailed instructions? e.g. where the files go - once I see an example of it working then I can got from there. :wink:

Author:  TinyWebGallery [ 24. Feb 2007, 03:16 ]
Post subject: 

There is no demo yet - I have only done this for y couple of people.

For 1.6 i want to redesign all the demos - There you can always doenlaod the whole folder with all settings - but I'm starting with this right now.

I'm testing php include for 1.6 right now. It takes for use a while until this is done.

What you have to do ist easy.

ude the image.php from the examples folder. set the config the image.php is used. set TWG to html mode. create a <imagename>.txt for each file you want to display extra data. That's it.

/Michael

Author:  elvislivz2 [ 25. Feb 2007, 05:50 ]
Post subject:  config

Is there a field in the config file in the main dir dealing with the php true of false?

Author:  TinyWebGallery [ 25. Feb 2007, 10:31 ]
Post subject: 

yes - read howto 28

/Michael

Author:  elvislivz2 [ 25. Feb 2007, 20:58 ]
Post subject:  Must be missing something

I went to the examples folder and copied image.php it to the directory that the picture and text file with the same 'name' .jpg.txt

e.g

name.jpg - image
name.jpg.txt - text file

changed $image_file_extension from txt to php in config file

changed to html mode in admin

stil not displaying text detail anywhere (i have a black skin - could that be the problem?) :?

Author:  TinyWebGallery [ 25. Feb 2007, 21:18 ]
Post subject: 

black skin can only be a problem that you don' see the text you insert -

Wait until I have done the 1.6 demos - I make downloadable examples of this kind of features - Then you can download and adopt the example to your needs.

Any errors in the debug file?

Or you figure it out by yourself ;).

/Michael

Author:  TinyWebGallery [ 25. Feb 2007, 21:19 ]
Post subject: 

btw. do you make it to display image.txt with a static folder text?

/Michael

Author:  elvislivz2 [ 25. Feb 2007, 23:19 ]
Post subject:  Picture detail

What I am trying to do is have images in a directory with individual detail for each picture. Once I figure out how to do one, then I can duplicate the effort for all the pictures transfer the knowledge to all the directories that I want details for the pics.

Currently I am not seeing anything - I'll try changing the skin to white to see if it makes any difference.

Thanks.

Author:  TinyWebGallery [ 25. Feb 2007, 23:54 ]
Post subject: 

caption is not enough? would be easier ;).

Michael

Author:  TinyWebGallery [ 25. Feb 2007, 23:56 ]
Post subject: 

and where do you want to display the info?

TWg can display the text on top, left, right and bottom ?

for botom you can use captions too!

Michael

Author:  elvislivz2 [ 26. Feb 2007, 00:13 ]
Post subject:  Pref to the right

Once I get any detail working I can play with the positioning if I read your instructions properly. Most impt is to get individual details per image. If caption works, can it be on a per image basis?

Page 1 of 2 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/