I am doing a restaurant website in PHP and also a mobile site for the same. The images of restaurant food products will be same in both. The images will be uploaded by the restaurant Admin. That means same image will be used to show in both desktop and mobile site.
I want to know the best way to store image for this scenario. Currently I am storing the image inside uploads folder of Desktop Application and referring to this in both mobile and desktop sites, which is not good I think. Can someone suggest a good method with lesser load time which can be used. Thanks in advance.
Related
So I'm working on a project to fetch images from fashion websites. Now I'm implementing the add item function in the website. In this function, user needs to input website url first, then the web scraper will scrape the target images' url and pass the urls to the curl to download the image. Finally the add item popup window will preview the images I fetched in the previous step and ask the user to fill out some basic information for the items. Everything works fine except that the curl will take a very long time to download the images (cuz the images from those fashion website are often very high-quality). So I'm wondering is there a way I can create a preview without actually downloading the full-size images and do the download when the user fill out basic information later. Thanks!
If the fashion website has smaller versions of the images, you should download those first. You can use them for your preview.
If the fashion website only has the full size image, there is no way to download a smaller version of it.
You probably know what your doing, but remember that you should respect the copyright of images on websites, especially art websites such as fashion websites. Be careful with what you do with them.
I have built a website using php and simple HTML/CSS for a client. In its simplest form : The website allows users to upload pictures and view them in a virtual art gallery. Basically I just placed images against a background image that looks like a art gallery wall.
The client wants a 3d website now, where the user can "walk through rooms and view pictures on walls, etc."
I'm wondering what's the best way to create a 3d environment that will allow me to use php to dynamically change the layout of the walls. I have been thinking of using html5 canvas.
I'm open to pretty much anything. Thanks!
You can try WebGL, Adobe Flash/Flex, Silverlight or Java applets for that.
For all approaches, you likely will have a "loader program" (or "engine") which then fetches the room description via RPC from your PHP-based backend, along with image URI and other stuff you need. This way, there is no need to change your program again just for updating the rooms or images.
I have a user that wants to be able to upload photo's to his website, and then be able to choose which album he wants them to appear in. I already have the albums hard coded on the site, but he wants the ability to add more.
Does anyone know of a script or cms or something that this can easily and cheaply be implemented or am I going to have to develop all of this from scratch?
Gallery 2 is my go-to. It's powering several large website's galleries around the web.
If you're very picky (as several of my clients have been) you can query image information out of the DB and build your own front-end. I've done several photographer's websites this way. There is even a desktop upload tool that can be downloaded if desired.
There is no cost at all.
This seems to be the cheapest and most complete solution I found. Slick Gallery
This one also seems like it would work well
PhotoCMS
For Image management I have used and recommend http://coppermine-gallery.net/
I am about to start implementing an online web store for a client. The web store will be constantly receiving new products that will be added into the store's online web catalogue.
My current code design for adding items is a web form where an admin would enter in the name, description, and images of the product. Each item comes with multiple images both in thumbnail, high resolution, and sometimes 3D rotation (sequence of images).
My main concern with the web form is the uploading of many high resolution images. Waiting for the upload every time the admin submits a new item really makes it a slow process to add a bunch of new items into the catalogue. Is there a better way to build this system other than having a web form? Maybe something like an offline system that the admins can just "sync" to the online version. I don't mind learning something new and coding it myself, but also if there's something on the market already available to buy with similar features I'm all ears.
More info:
I will be the primary developer of this system and I'm only a novice in PHP, Ajax, jQuery, and AS3. The current website and system is authored in PHP with mySQL.
You can allow the editors to input images as zip files, and a progress bar would be good. You can have an inline upload that just happens when the images are selected, instead of uploading after the form post so that the editors do not feel the waiting effect.
I have a website at which you can upload your photos from a trip, for example, and have them displayed in your profile. I am now trying to make a mobile version of this website. So my question is, what is the easiest way to make it possible for my users to upload their images from their cell phones to the website?
I think your problem is client dependant so you can't do it work if client don't support it.