Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Help with thumbnails
klin Offline
Junior Member
**
Posts: 1
Joined: Dec 2013
Post: #1
Help with thumbnails
For the life of me, I can't get the gallery example to work properly.

My code to bring in the attachment is:

Code:
<a href="{$GLOBALS['threadfields']['gal_img']['url']}"><img src="{$GLOBALS['threadfields']['gal_img']['url']}" alt="image" width="{$GLOBALS['threadfields']['gal_img']['dims']['w']}" height="{$GLOBALS['threadfields']['gal_img']['dims']['h']}" /></a>


(I know I should probably be using the thumbs key, too, but at this point, I'm just trying to get something to work.

The img tag ends up as:

Code:
<img src="xthreads_attach.php/12_1387095073_dea23a4e/16af9b916733edb36038fe922c3d4131/spirited-away-wallpaper%20%281%29.jpg" alt="image" width="1366" height="768">


However, the image is broken and the source links to an error page:

Quote:Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

I figure this is probably a CHMOD thing, but I changed the values of everything in the uploads/xthreads_ul folder to no avail.

Edit: I've tried changing the value of XTHREADS_ATTACH_USE_QUERY to 1.
(This post was last modified: 12-16-2013 12:37 PM by klin.)
12-16-2013 05:10 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Help with thumbnails - klin - 12-16-2013 05:10 AM
RE: Help with thumbnails - ZiNgA BuRgA - 12-17-2013, 04:54 PM

 Standard Tools
Forum Jump: