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

Text left and right not shown (mostly)
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=2510
Page 1 of 3

Author:  RichardS [ 12. Apr 2010, 09:41 ]
Post subject:  Text left and right not shown (mostly)

Hi,

the text (image.txt and image2.txt) are most of the time not shown,
sometimes if i change a text and clear the cache the will be shown, but usually not for long.

Have you a clue what i must check or the problem occured anytime in the past ?

regards,

Richard Stracke

Author:  TinyWebGallery [ 12. Apr 2010, 10:46 ]
Post subject: 

I never had this problem so far.

Does this happen here as well?
http://www.tinywebgallery.com/demo/inde ... MG3393.jpg

- Michael

Author:  RichardS [ 12. Apr 2010, 11:00 ]
Post subject: 

No,

the Text will be shown.

We use Firefox and Internetexplorer 7 and 8.

I found an old Threadm where you told, that Chars like " and ' can be the source for problems like this, i check this in this minutes.

If there wrong chars in the File, can this occur , that all Texts in a foldern not to be shown (how in my case) or only the text of the involved File ?

Author:  TinyWebGallery [ 12. Apr 2010, 11:03 ]
Post subject: 

you can include pure html in this files. So make sure to url encode your text if you e.g. use < or > ...

- Michael

Author:  RichardS [ 12. Apr 2010, 13:32 ]
Post subject: 

O.k.,

ich extem simplify the situation.

13 Pics all Textfiles are deleted, cache cleared.

The first Picture have a Textfile (image.txt) with this content:

<div class="twg_text" style="text-align:right">
Text<br>
<br>
<br>
</div>

no Text is be shown

Richard

Author:  TinyWebGallery [ 12. Apr 2010, 13:36 ]
Post subject: 

first pic?

which mode for image.txt are you using? Because there is a propery mode as well!

- Michael

Author:  RichardS [ 12. Apr 2010, 13:58 ]
Post subject: 

You confuse me a little bit.

what do you mean with mode for image.txt ?

Richard

Author:  TinyWebGallery [ 12. Apr 2010, 14:00 ]
Post subject: 

http://www.tinywebgallery.com/en/faq.php#h28

- Michael

Author:  RichardS [ 12. Apr 2010, 14:24 ]
Post subject: 

o.k. this helps a little bit. I used USA as a Start, so it will be mode 3 , i think.

I tried to enable mode 1.
i deleted the image.php.

the config.php and config_de.php is now the same (attached in the bottom)

I want to use the pic.jpg.txt and pic.jpg2.txt funtionality..

--------------------------------------------------------------------------


<?php
defined( '_VALID_TWG' ) or die( 'Direct Access to this location is not allowed.' );

$use_dynamic_background=true;
$image_file_extension = "txt";
$image_txt_position="side";
$default_big_navigation='FLASH';
$image_file_is_multi = false;
$strip_thumb_pic_size=80;
$small_pic_size = 400;
$use_small_pic_size_as_height=false;
$enable_dir_description_on_image=true;
$image_rating_position="menu";
$big_nav_pos = "botton";
$flash_nav_reflection='on'; // new 1.7.3 - You can turn the reflection of the thumbnailflash on/off. valid entries: 'on', 'off'
$flash_nav_reflection_bg_color='FFFFFF'; // new 1.7.3 - This is the background color of the reflection. Set this to your background color if you turn reflection on
$flash_hide_scrollbar='false'; // new 1.7.3 - You can hide the scrollbar by setting this parameter to 'true'. Valid settings are 'true','false'. You should enable autoscrolling if you hide the scrollbar!
$flash_enable_autoscroll='true'; // new 1.7.3 - You can enable autoscrolling when you move the mouse to the left and to the right. Valid settings are 'true','false'.

$use_round_corners = false;
$skin='';

?>

Author:  TinyWebGallery [ 12. Apr 2010, 14:26 ]
Post subject: 

But mode 1 means that all images have the same text in one directory...

- Michael

Author:  RichardS [ 12. Apr 2010, 15:21 ]
Post subject: 

himmel....... (censored).

o.k. i have a try to move all in mode 3 in one file.

Hopefullly it is worked.

thx for helping the debug the bug 20 cm in Front of my Monitor.


Richard

Author:  TinyWebGallery [ 12. Apr 2010, 15:52 ]
Post subject: 

You should not sit that close ;).

- Michael

Author:  RichardS [ 13. Apr 2010, 10:32 ]
Post subject: 

sorry, but it is don't work anyway.

here is a folder , based on USA 2005, i remove all pictures excelt 1 , add a new picture , but the Text of the new picture are not shown.

at the moment i can't do what i want, i can't manage to show text left and right from the picture.

con you confirm, that the text for CIMG4480.jpg are not shown ?

Richard

http://www.file-upload.net/download-243 ... -.zip.html

Author:  RichardS [ 15. Apr 2010, 08:25 ]
Post subject: 

hmm.. ?

Author:  TinyWebGallery [ 15. Apr 2010, 09:53 ]
Post subject: 

It's not shown because your setup is wrong.

You have to careful! My example is using 2 modes! One if you select English and one if you select German.

I still don't know which one you want to use. Because if you want to use a separate text for each image you should an image.php which load different text files or the properties mode.

Just one note. You don't want to use normal captions?
http://www.tinywebgallery.com/de/faq.php#h51



- Michael

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