Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

How do you like to handle photos

Guest
Dec 20, 2007 Dec 20, 2007

Copy link to clipboard

Copied

What you're preferred way of handeling photos uploaded to the server? Although you upload an image to the database itself, I've always added the URL to where it can be found, and upload the image to a folder.
TOPICS
Server side applications

Views

275
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 21, 2007 Dec 21, 2007

Copy link to clipboard

Copied

> What you're preferred way of handeling photos uploaded to the server?
> Although
> you upload an image to the database itself, I've always added the URL to
> where
> it can be found, and upload the image to a folder.

I've always heard that the second method (the one you use) is the best
and keeps from bogging down the db.


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 21, 2007 Dec 21, 2007

Copy link to clipboard

Copied

LATEST

"jsteinmann" <webforumsuser@macromedia.com> wrote in message
news:fkfkbb$1ju$1@forums.macromedia.com...
> What you're preferred way of handeling photos uploaded to the server?
> Although
> you upload an image to the database itself,

No, you never want to upload an image to a database - that would just cause
a lot of bloat to the db.

>I've always added the URL to where
> it can be found, and upload the image to a folder.

Yes, that is a much preferred way. I only store info in a db about the
image(s) or other file(s). I have one field that stores the path to the file
and another field that stores the filename. That way if I have to move the
file to another location, it's just a quick process to change the info in
the path field.


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines