Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
long captions https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=80 |
Page 1 of 1 |
Author: | sophana [ 28. Oct 2005, 23:27 ] |
Post subject: | long captions |
Hi again sorry for flooding the forum. I would like to have long captions for some of my pictures. When I do it, the caption does not split into several lines. But a scrollbar appears, and I have to scroll. Would it be possible to make it fit into the window? Thanks a lot. |
Author: | TinyWebGallery [ 31. Oct 2005, 12:26 ] |
Post subject: | |
Hi, ok - open index.inc.php line 1476 ff function php_to_all_html_chars($data) { $e = get_html_translation_table (HTML_ENTITIES); $data = strtr($data, $e); return str_replace(" ", " ", $data); } -> function php_to_all_html_chars($data) { $e = get_html_translation_table (HTML_ENTITIES); $data = strtr($data, $e); return $data; } I catually don't know anymore why i placed this there .... /michael |
Author: | Pat [ 15. Nov 2005, 19:24 ] |
Post subject: | Same Problem |
Alright...I got the captions to work, but I am having the same problems with the long caption names. With the code that you posted, was I supposed to replace the second code with the first?? Please help #removed_broken_link Pat |
Author: | sophana [ 15. Nov 2005, 19:35 ] |
Post subject: | |
no replace the first with the second. maybe the replacement has already been made in the latest downloads... |
Author: | Pat [ 15. Nov 2005, 19:39 ] |
Post subject: | |
I think that it has..That's why I am confused. I'll look again though |
Author: | TinyWebGallery [ 15. Nov 2005, 19:52 ] |
Post subject: | |
Hi, I have replaced this in my local build - and the actual online version as well. If you don't have any spaces you won't get a linebreak! thats HTML - but with spaces you should. If not check if you have the 2.nd version of the function in your local code. You still have some space around the iframe - I would remove this . /Michael |
Author: | Pat [ 15. Nov 2005, 20:30 ] |
Post subject: | |
Der...again...that worked. I'm just starting to get trained on PHP, so i didnt even consider the HTML aspect of it. Thanks again. Great program btw |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |