On Apr 24, 4:55 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I want to load images from a folder (on Heroku server) in my app.
>
> Let's say I have a list of items and for every item I want to load a
> picture from the disk.
>
> That items will be in the DB, but images will be on the disk (the file
> path should be stored in DB too).
> I don't want to put images in DB like Blobs. That's all my problem.
>
> I hope now I will be understood.
>
> Excuse my english. I'm not native speaker.
>
> On Apr 24, 4:59 pm, Kevin Triplett <[EMAIL PROTECTED]> wrote:
>
> > Do you want to load images from a disk on, for example, your
> > local machine into your Heroku app?
>
> > Or do you want to load them from a folder in your Heroku app
> > into a webpage? Or into your app somewhere?
>
> > Where are the images originating from? Where are they now?
>
> > [EMAIL PROTECTED] wrote:
> > > No. It's not what I want.
>
> > > I want to be able to load some logo images from disk (not database) in
> > > my app.
> > > Dynamic loading I mean
>
> > > On Apr 23, 8:41 pm, Ivan <[EMAIL PROTECTED]> wrote:
> > >> In the edit view you will be able to load images in your public/images
> > >> folder, right click on images folder->Upload.
> > >> I think this is the folder your searching for.
>
> > >> On 23 Apr., 15:45, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > >> wrote:
>
> > >>> How can I save/load some images on disk.
> > >>> On which folder I will put them ?
You can use an attachment plugin, like attachment_fu or paperclip. I
use paperclip, but it seems to be conflicting on Heroku. Try to look
up any tutorial for these plugins and you will have 90% of what you
need.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---