4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: brice626 on April 30, 2006, 01:46:46 AM
-
Hi there,
I updated from 1.7 to 1.7.2 containing the latest security fix -- after doing this, the HTML in the description field stopped working (example: http://www.benjaminbrice.com/forimages/details.php?image_id=864)
Any idea why?
-
the HTML in the description field stopped working
"stoped working" is a very poor description of the problem. visiting the site - I had no idea what I'm supposed to look at.
So, please take a few minutes of your time and describe IN DETAILS of what supposed to happend and what actualy happening.
-
The link should take you to a page where in the description field, the raw HTML code is displayed.
Previous to the upgrade, the HTML "performed its function" - in this case, displaying a smiley-face image.
Edit: Earlier I also posted in this thread as I thought you might be talking about the problem I'm experiencing: http://www.4homepages.de/forum/index.php?topic=12720.15
-
Any ideas? Sorry to bug :(
-
I'd not suggest allow HTML anywhere where regular member can add their stuff...
anyways in includes/functions.php find: $description = (!empty($image_row['image_description'])) ? format_text($image_row['image_description'], 0) : REPLACE_EMPTY;
Replace 0 with 1
-
I had the same problem, and V@no's solution works. Thank you, V@no.
But I just wanted to suggest that maybe this could be an option in the admin panel -- i.e., a checkbox for "Allow HTML in description? Yes/No."
Regards.
-
Worked for me too. Thanks V@no!
I'm the only user who uploads but I appreciate the security concern as well. Thanks again.
-
I had the same problem. It confused me quite some time that in the cp at descriptions it said "html allowed" while it clearly was not. IMHO that's something that should be corrected in upcoming releases.