PDA

View Full Version : Possible bug in latest version of Subdreamer Light (Image Gallery)?


Leif André
04-04-2004, 05:13 PM
Hi!

First of all, let me say how fantastic I think Subdreamer is! I have downloaded it, and it was easy to install and even easier to set up. :p

I am trying out the Image gallery and have noticed that when I have inserted a table (say with 8 rows) in the description field of an image, the description is moved down 8 lines below the image. When I check the source code, I see that a lot of line breaks <br /> is inserted between the image and the description. Would be very happy if anyone could tell me how to get rid of them. I use the table to structure the information about my pictures... like filesize, where it was shot etc.

And it does not seem to be possible to add gifs in the image gallery, operation does not complete when I try that. :confused:

Ziad
04-04-2004, 05:49 PM
Hi labrekke!

Every new line is converted into a <br /> for an image's description.
So that means you will need to enter html without new lines.
Example: <table><tr><td>A Table without new lines.</td></tr></table>

About the gifs, Unfortunately PHP does not support thumbnail creation for gif images. In the next version of Subdreamer Pro, there will be an option to manually submit images so users can upload gifs for thumbnails.

Leif André
04-04-2004, 06:07 PM
Off course! :D

I should have remembered that new lines are converted to <br> :o

Might be an idea to have a checkbox or something to let people decide if they want to have new lines converted to <br />? I think you have something like that in another plugin?

Thanks a lot for your help, subduck. I am really impressed by your work on this CMS. :cool: Gave it top rating on www.hotscripts.com ;)

Ziad
04-04-2004, 06:13 PM
I would really like to create something that checks text and only adds new lines after nonhtml input.

Thanks for the rating :)