re-using attachments.
Join the #1 Art Workshop - LevelUpJoin Premium Art Workshop

Results 1 to 7 of 7

Thread: re-using attachments.

  1. #1
    Join Date
    Feb 2006
    Posts
    518
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Follows
    0
    Following
    0

    re-using attachments.

    just an idea that came up, where we could access the attachments that we have made, and use them in other threads, rather than re-attaching them again.

    make the attachment managers user-centric rather than thread-centric.

    Reply With Quote Reply With Quote  

  2. #2
    Join Date
    Jul 2002
    Location
    Seattle, WA
    Posts
    810
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Follows
    0
    Following
    0
    That's a good idea. Someone should tell the vbulletin developers, because that should really be built-in into the forum system and not hacked in by us, IMHO. Maybe it's already possible in the latest version, or there is a plug-in for it...

    Note that you can go to http://www.conceptart.org/forums/pro...ditattachments to see your attachments. Far from perfect, but better than nothing...

    Reply With Quote Reply With Quote  

  3. #3
    Join Date
    Nov 2005
    Posts
    1,605
    Thanks
    88
    Thanked 124 Times in 96 Posts
    Follows
    0
    Following
    0
    you can halfway do that now by placing the attachment id number between [ATTACH] tags (which is what the Attachment Manager does). but, this only shows as a link to the attachment -- it's not displayed inline.

    i tried a number of variations on this but no luck -- i think there's some Attachment Manger magic that would need to be hacked to get the tagged ids working inline in any post.

    Continuity Break -- my sketchbook

    Shameless plugs!
    Kata femme -- a 3D model WIP, now updated!
    The Giordano Gambit -- Barsoomian Zingball at its best!
    Valkyrie Ascending -- now updated with the second in a series!
    ArmaRagnaGeddonRock-yer-Yuga! -- celeztial shitz 'n' gigglez
    I . Miss . America -- "colored [eyes] may hypnotize..."

    "In the end, Razputin, aren't we all just dogs playing poker?"
    -- Edgar Teglee
    Reply With Quote Reply With Quote  

  4. #4
    Join Date
    Nov 2002
    Posts
    1,475
    Thanks
    25
    Thanked 17 Times in 16 Posts
    Follows
    0
    Following
    0
    that's interesting though...being able to see the pics you've posted.

    It would save space on their HD and as well...make the pictures more accessible for multiple threads.

    [][][][] DRAW EVERYDAY [][][][]>
    Reply With Quote Reply With Quote  

  5. #5
    Anid Maro's Avatar
    Anid Maro is offline Psychotic Eldritch Zeppelin Level 9 Gladiator: Hoplomachi
    Join Date
    Dec 2006
    Posts
    1,378
    Thanks
    669
    Thanked 537 Times in 295 Posts
    Follows
    0
    Following
    0
    Hmm... interesting thought.

    I dug around a bit to see if I can figure anything out.

    Firstly, when you go directly to the attachment and then try to check out the page source code, it is completely encoded.

    For example, you get stuff like this:

    x^?/c{ݧC鵽Fl[6]}

    Another thing I've noticed is that when you look at the page info of a specific attachment it tells you that it is a jpeg image file. Furthermore, if you save the image file (or look at the attachments manager that Pontemonti mentioned) it retains the file name of the image.

    The following text was made hard to read because I think the idea is crap now. Highlight it if you're really interested.

    This tells me that, for example, when you go to a specific attachment, the page you go to is likely referring elsewhere for the image, instead of the image simply being embedded into the page code.

    Now here is something interesting (sorry if this post seems disjointed, I'm typing as I try stuff).

    With html coding, I was able to directly display an attachment with this line of code here:

    <img src="http://www.conceptart.org/forums/attachment.php?attachmentid=88513">

    I'm using Firefox as my browser, by the way.

    Since Firefox will display that link as an image, I'm backing out of my original theory that there the attachmentid was referring to another file (e.g. sbApple.jpg). Instead, I'm thinking that when you upload something as an attachment a new file is created that contains all of the image information (filename, image type, etc.). That would also explain why I just get garbage when I look at the page source.

    In short, I'm now saying that I think when you go directly to an attachment, that is the image and not a referral to the image.

    Anyhow, that's all I've got. Ideas I've got for the mods/scripters/coders/godsabove:

    - If able, allow forum members to directly display attachments in posts other than the original post. It'd be convenient and save you guys some drive space.

    - If able, find a way to keep the attachments from displaying outside of the ConceptArt forums. Wouldn't want anybody to abuse this wonderful service, would we?

    -My work can be found at my local directory thread.
    Reply With Quote Reply With Quote  

  6. #6
    Join Date
    Nov 2005
    Posts
    1,605
    Thanks
    88
    Thanked 124 Times in 96 Posts
    Follows
    0
    Following
    0
    i had similar results, Anid, but HTML in posts is disabled, and there doesn't seem to be a vB code solution. i tried embedding the ATTACH-tagged id, and even the attachment's url, in other vB code tags (like IMG) but it was just ignored.

    Continuity Break -- my sketchbook

    Shameless plugs!
    Kata femme -- a 3D model WIP, now updated!
    The Giordano Gambit -- Barsoomian Zingball at its best!
    Valkyrie Ascending -- now updated with the second in a series!
    ArmaRagnaGeddonRock-yer-Yuga! -- celeztial shitz 'n' gigglez
    I . Miss . America -- "colored [eyes] may hypnotize..."

    "In the end, Razputin, aren't we all just dogs playing poker?"
    -- Edgar Teglee
    Reply With Quote Reply With Quote  

  7. #7
    Join Date
    Jul 2002
    Location
    Seattle, WA
    Posts
    810
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Follows
    0
    Following
    0
    The attachments are stored in a directory which you cannot access. The attachment page then sends you that image when you request it. Perhaps it would be possible to create a new tag that inserts this image (say, [ATTACHMENT]number[/ATTACHMENT] would be converted to <img src="http://www.conceptart.org/forums/attachment.php?attachmentid=number" />). I don't know how this would work with permissions though. I assume that the attachment.php page checks that you are allowed to view the image (that it was posted in a forum/thread you can see) before showing it to you, but I would have to check that first to be sure...

    Reply With Quote Reply With Quote  

Members who have read this thread: 2

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •