Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Can't see attachments

Quote Reply
Can't see attachments
I've tried adding attachments to posts - small images etc., well within the 300k limit I've allowed.

There's no warning that anything's gone wrong, but no attachments show up - either separately or inline.

Where are the real images stored? i.e. not just the information about them. Where can I physically find my JPGs in the file structure?

And most to the point, why aren' they showing up in the post?

Help appreciated.
Quote Reply
Re: [hstl] Can't see attachments In reply to
Hi,

If you upload an image as "inline", it doesn't automatically show up in your post unless you use the '[inline filename.jpg]' tag or choose the inline image option in the advanced editor's insert image menu. The actual files are stored on disk, split up by ID -a post attachment with postatt_id = 1234 would be stored as admin/attachments/post/4/1234 - the "4" comes from the final digit of the post attachment id.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Can't see attachments In reply to
OK, I got it to work with the [inline] tag. Not a very elegant solution, I feel, and I can't see users being much interested in remembering tag codes. It might be a good idea if 'uploading' an attachment were to produce the inline tag code for that item so that at least it could be copied and pasted.

I'm sure there's some point to the post ids for attachments, but I've yet to understand it! What is the re-naming convention?...Is the very first attachment uploaded re-named 0001? If so, that would be in the 1 folder, yes? So why is there a 0 folder?

I found my very first uploaded attachment in folder number 3 ..... Shocked. But I'd much prefer a standard attachments directory where I can see the original, real names of the files.

Also, admin doesn't seem to have any way of managing attachments other than its setup of directories.
Quote Reply
Re: [hstl] Can't see attachments In reply to
In Reply To:
OK, I got it to work with the [inline] tag. Not a very elegant solution, I feel, and I can't see users being much interested in remembering tag codes. It might be a good idea if 'uploading' an attachment were to produce the inline tag code for that item so that at least it could be copied and pasted.

If using the advanced editor, clicking the image button should display a list of inline attachments, in which case they need only to select the attachment they wish to display.

In Reply To:
I'm sure there's some point to the post ids for attachments, but I've yet to understand it! What is the re-naming convention?...Is the very first attachment uploaded re-named 0001? If so, that would be in the 1 folder, yes? So why is there a 0 folder?

The last digit of the attachment id is used - 1 through 9 are stored as 1/1, 2/2, ... 9/9, and 10 is stored is 0/10, 11 as 1/11, and so on.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] Can't see attachments In reply to
Quote:
If using the advanced editor, clicking the image button should display a list of inline attachments, in which case they need only to select the attachment they wish to display

Where and what is the advanced editor? I can't see anything on the board nor in admin?....??