Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthor3stripe
    • CommentTimeJul 18th 2005 edited
     # 1
    Is there any way it could be possible to add a title tag to each image, that was display instead or in addition to the filename?

    Then I could use this as a proper gallery plugin... most of my photos have been named by a camera with fairly boring alphanumerical strings.... :-(
    •  
      CommentAuthorMark
    • CommentTimeJul 18th 2005
     # 2
    *moved to filebrowser category*
    • CommentAuthorjonezy
    • CommentTimeJul 18th 2005
     # 3
    *moved to my pants*
    •  
      CommentAuthorMark
    • CommentTimeJul 18th 2005
     # 4
    The filebrowser was made with simplicity in mind. I've had a few people ask for things like the option of having a file associated with an image that would allow you to give each image a description. So, you'd put the description in the file, and the description would be pulled from the file and displayed on the page when that image is viewed. This custom name thing is pretty similar.

    When it comes down to it, I didn't want to overcomplicate the filebrowser. Adding in the custom descriptions does just that. I'm of a mind that the thumbnailer takes care of this task because "a picture says a thousand words".

    And when it comes to adding a whole new component just to give files a faux-name, isn't it the same amount of work to just go rename your files?

    I'm not shooting down your idea, I'm just sharing my point of view. What do you think?
    •  
      CommentAuthor3stripe
    • CommentTimeJul 18th 2005
     # 5
    yes i could rename my files easily enough...

    if it were just for my own personal use, of course, that would cool... and i love how it's so simple.... but if it's a gallery i guess it's designed for other people, who would probs rather see something like "Jim and Bob at Bar X" rather than jimandbob_at_bar_x.jpg (ie the extension isn't really relavent in this context)

    anyone else?
    •  
      CommentAuthor3stripe
    • CommentTimeJul 20th 2005 edited
     # 6
    ok ok... what about... an option to hide the filename extensions, and display any underscore as a space...

    so 'jim_and_bob_at_bar_x.jpg' would display a title of simply 'jim and bob at bar x' ?
    •  
      CommentAuthorMark
    • CommentTimeJul 20th 2005 edited
     # 7
    I've actually been thinking about this request quite a bit. I was thinking that it might be cool to have a single file that sits in a directory and contains filename > file title declarations on a line-by-line basis. It would be easy to load that into an array and just check for filename rewrites on a file-by-file basis.

    Or, as you say, just replace underscores and remove the file extension. It is worth noting, too, that the filebrowser doesn't require underscores in file names, so you could always name something like "jim and bob at bar x.jpg" and it would work just fine.
    •  
      CommentAuthor3stripe
    • CommentTimeJul 20th 2005
     # 8
    I would be quite contented with an option to blank out underscores, and omit the extension.

    Would have the added bonus that all the files on your HD would end up properly named as well....
    •  
      CommentAuthor3stripe
    • CommentTimeJul 21st 2005
     # 9
    This would be quite easy, if you knew what you were doing, right?
    •  
      CommentAuthorlech
    • CommentTimeAug 1st 2005
     # 10
    Mark, you mean like this: http://www.secondagenda.com/fileyard/ ? It's something I hacked together but it gets the job done. Not as glitzy as filebrowser, but images shouldn't be too difficult to pull off on your own. All the icons are base64 encoded into a single file, otherwise you can easily link to images from another file.

    And no, this isn't filebrowser :D
    •  
      CommentAuthorKosmo
    • CommentTimeAug 14th 2005 edited
     # 11
    Would it be hard to do few options you could put on or off during the installation process. I guess that if you want to name your files yourself and have a description you'd have to use MySQL.

    I'd love to name my files and give them description on my website, since even if picture says more than tousand words, little foreword can't hurt anything, they do it in books too ;)

    :edit:

    Oh, lech what filebrowser system is that secondagenda site using? I didn't see any name or anything there, or maybe I didn't look close enough.
    •  
      CommentAuthorlech
    • CommentTimeAug 14th 2005
     # 12
    It's nothing special, it's a royaly hacked up version of celeron dudes browser. But I've added some functionality to it since then.
    •  
      CommentAuthorKosmo
    • CommentTimeAug 14th 2005
     # 13
    But it looks so sweet, and has pretty neat view, something I wouldn't mind in Filebrowser.
    •  
      CommentAuthorlech
    • CommentTimeAug 14th 2005
     # 14
    it's nothing beyond what mark is already doing, and I'm sure with a cleaver addition he could easily add something like this to filebrowser :D
    •  
      CommentAuthorKosmo
    • CommentTimeSep 1st 2005
     # 15
    I know that Filebrowser is meant to be very small and very easy, speed is the priority, but maybe god.. I mean Mark could add the extension option to FB like Vanilla has, and have an option for FB to use MySQL to store names and such.
    •  
      CommentAuthor3stripe
    • CommentTimeSep 1st 2005
     # 16
    bring on the extensions!!!!
    •  
      CommentAuthorMark
    • CommentTimeSep 1st 2005
     # 17
    I was thinking about this one last night in a drunken stupor.
    I think I've thought up a nice little way to accomplish this with very little headache.

    By the way, I realize that a lot of people are put off by the fact that there are no templates in the filebrowser. First of all, like many people on the board have said, it's supposed to be small and easy to install. That is why I haven't added templates - because I don't want to add any more files to the thing.

    Also, it's a pretty complicated set of rules that the thing runs through when building the file lists, and I've had to do it in a really wacky (some might say "retarded") way in order to make it speedy. One of my biggest beefs with tiny little apps like this is when they are slow. Why should a simple one-page php file be slow? I'm on a tangent now, so I'll shut up.
    •  
      CommentAuthorKosmo
    • CommentTimeSep 1st 2005
     # 18
    Yeah well, it's not the size of the program that is slowing it down, hell, PHPBB gets pages down like a cannon, it's mainly the workflow and how much stress it puts on to the database, and always size and speed doesn't go hand to hand. I appreciate that you want to make the FB small (needs a better name btw) but speed and useability are way more important to me, I can't have customers waiting for their browser to load a page that has half the options they waited for.
    • CommentAuthorjaseone
    • CommentTimeSep 1st 2005
     # 19
    Why not simply use the title exif metadata from jpg's? I'm sure most people's galleries are using jpgs so am I missing something?

    http://us3.php.net/manual/en/function.exif-read-data.php
    •  
      CommentAuthorBen
    • CommentTimeSep 1st 2005
     # 20
    Not really, mine has lots of gifs and pngs, as well as jpegs. Any solution would need to work for any and all filetypes. FB itself works for anything, so naming things should work for anything as well.
    •  
      CommentAuthorKosmo
    • CommentTimeSep 1st 2005
     # 21
    Who the hell uses jpg's anymore? PNG is way better format, besides, when talking about program like FB we should always think about the whole demographic, all file formats, not just the ones that are popular. People will use this for more than just pictures.
    •  
      CommentAuthorMark
    • CommentTimeSep 1st 2005 edited
     # 22
    I appreciate that you want to make the FB small (needs a better name btw) but speed and useability are way more important to me

    Did you miss my point? Or was I unclear? The filebrowser is small and speedy. Faster than most other image browsers out there.
    •  
      CommentAuthorKosmo
    • CommentTimeSep 2nd 2005
     # 23
    Nope, I hear you loud and clear, I know FB is small and speedy, but as we are talking about adding new features, that thing might change fast, eh?
    •  
      CommentAuthorMark
    • CommentTimeSep 2nd 2005
     # 24
    naw. it should still be very fast with the way I'd be doing it...
    •  
      CommentAuthorKosmo
    • CommentTimeSep 2nd 2005
     # 25
    Nice to hear that champ, I was just worried for a second there, it's just that I wouldn't use FB if it wasn't so great, and I don't want it to change too much without the possibility to optimize it with extensions and such.
    •  
      CommentAuthor3stripe
    • CommentTimeOct 30th 2005
     # 26
    Mark I've been thinking about this again - am using eSPG gallery at the moment with Wordpress and it stores all the image descriptions in a text file, is this the kinda thing you had in mind? Seems to work pretty well

    (http://www.quirm.net/showcategory.php?categoryid=12)
Add your comments
    Username Password
  • Format comments as