Questions tagged [image]

41 questions
74
votes
4 answers

What is the purpose of storing multiple lower resolution versions of the same original image?

Sometimes in apps I look into the Resources and find files for, for example, a 256x256 version, a 128x128 version, a 64x64 version, AND a 32x32 version, of the same icon. When I see simple geometric icons like circles I already wonder why they do…
user16217248
  • 1,029
  • 1
  • 5
  • 19
12
votes
2 answers

Creating a separate table for images or adding "image fields" to many tables?

I need to create a database in which several tables have images. For example, users have profile pictures and uploaded ones and products have many pictures, as well. Is it better to have one SQL table "images" or add "images" to every table that…
Computer's Guy
  • 233
  • 1
  • 3
  • 10
9
votes
2 answers

What is a Ruby on Rails way to save images?

I develop on iOS, and I'm switching from a PHP backend to Ruby on Rails. The interchange format is JSON. A quick Google search for 'save images in Rails' has nearly every result talking about saving image data as blobs to the database. I might be…
user
  • 263
  • 1
  • 2
  • 10
8
votes
3 answers

How best to store images on a file system

Developing an application in which users have to upload images. I have not really got much experience with file uploads in an application so I am wondering what the best way is for storing images which are uploaded by users to the file system.
cobie
  • 3,237
  • 5
  • 23
  • 21
6
votes
2 answers

How are dynamic images programmed?

I have two friends that want to create a jewelry store, focused on customized jewels. The core feature is the jewelry designer, based on a jewel model. Here's an example of the sort of thing I am looking to create :…
Fabrício
  • 199
  • 1
  • 4
5
votes
2 answers

Store and Tag Millions of Images

I am building an application where I need to store millions of images and later tag them. The tags attributed to the images could change over time as the tagging system evolves. Images will then be searched for by tags. In terms of storing the…
ssc327
  • 161
  • 1
  • 5
5
votes
2 answers

Image resizing client side vs server side

When uploading a lot of images to a server, to minimize the space taken by the images, is it better to resize the images before sending to the server or upon receiving them? It seems to me that resizing them in JavaScript can take long time for not…
Alex
  • 153
  • 1
  • 7
5
votes
3 answers

What kind of image should be used in a web page?

I have a site that will have lots of images of large size. What is the best format that I should choose for displaying these images? I need the website to load fast. I am jumbled with different formats of images like jpeg, png, gif, bmp, etc. Which…
mtk
  • 167
  • 1
  • 5
4
votes
1 answer

In a web application, should "private" user images be protected with authentication/authorization?

When creating a web application that will allow users to upload images and mark them as private, should those images be protected by authentication and authorization mechanisms against access by other users? The answer seems like an obvious "YES".…
SunSparc
  • 175
  • 7
4
votes
1 answer

Project icons / images organization

I am asking a question about the overall architecture between different projects. Let's say I want to centralize all icons / images between different projects in a single repository. This means that all projects need to checkout / synchronize with…
4
votes
2 answers

S3 image urls in database

I have an application where users will be able to upload multiple images for one Product (via something like Ryan Bates nested fields, so you'd click "Add Image", and a file upload would appear on the same page). I'm planning on using jQuery File…
the_
  • 123
  • 7
4
votes
1 answer

When deploying code to a production server, how are non-source code assets such as images and PDFs managed?

Currently, I am trying to set up deployment procedures and GIT for a group of websites. Code and assets are between 15 and 20GB. The code and related text files are probably closer to 150MB. When deploying code from the developer machine, to a…
4
votes
2 answers

data maintenance/migrations in image based sytems

Web applications usually have a database. The code and the database work hand in hand together. Therefore Frameworks like Ruby on Rails and Django create migration files Sure there are also servers written in Self or Smalltalk or other image-based…
User
  • 795
  • 4
  • 9
4
votes
1 answer

How to maintain standard quality of images uploaded by many users?

We're developing a site where individuals (store owners) will be able to take pictures and upload to the site. Our biggest concern is the variance in quality of pictures across the site. The options we are considering are: Minimum image cleaning…
3
votes
0 answers

Project a piece of image cut by N-vertex shape to a different N-vertex shape

I have an N-vertex shape that I cut out from an image, and I want to project it onto another shape with the same amount of vertices, but different. So, the image will get changed inside the projection. Are there any known algorithms to do…
1
2 3