How to show custom page for each .jpg image in directory [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I currently have a image uploader that uplaods images to my directory on my server. I wish to make it so I can do what a website such as lightshot does with images that are uploaded:
http://prntscr.com/3l83lw
I only want to center the image with a black background, I don't need anything fancy.
Any ideas on how I would go on about doing this?

what you're trying to accomplish is relatively easy.
You do need html/css/javascript/php knowledge in order to
accomplish it.
start reading tutorials such as these two:
http://www.lateralcode.com/create-a-simple-picture-gallery-using-php/
http://www.johnboy.com/blog/tutorial--php-photo-gallery-with-no-database
good luck !

Make a index page that collects the data after the '/'.
Takes that word, number or whatever, and matches it with the image uploaded in your server. Then you can display that image in the screen, inside a default page, for all users.

Related

How to let users upload or change the uploaded images in one page, and display it in another page? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 months ago.
Improve this question
How to let user upload image in one page, and then display it in another page? User can change the image and it'll be changed also in the other page. Also, I'm talking about using php / js / jquery / mysqli anything that's most efficient. (I'm just a beginner in this field so it'll be appreciated if you use some simple language :))
Edit: Yes I said that I'm a beginner, but that doesn't mean I don't know a thing about coding. Also, I saw a few solutions from youtube & other stackoverflows questions, but all of them is about either uploading and displaying in the same page or not being able to change the image.
Format the image into Base64 string
store it in local-storage
In another page get it from local-storage and assign to the id or class.
Suggesting the link that already have answered for
How to save an image to localStorage and display it on the next page?

Can we program GIF in a way we can change the content from backend [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I am working on an idea where we we need a editable text field in GIF or any other image format where we should be able to change the content from background even after the Gif is generated and shared. is there any way to do it?
No, GIF is a simple image file format which also allows for simplistic animation by changing the image. It doesn't have support for anything more complex. Editable fields are well handled with HTML and forms so images don't need to do that and you're unlikely to find such "images" as they're not images any more.

whats the fastest way to load images using javascript? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Lets say I have an ecommerce site with 15,000 image elements to insert into the html, whats the most efficient method using javascript to increase efficiency and user experience?
Load the images only when they are in the view port.
This question tells you how:
How do you make images load only when they are in the viewport?
Preload the images and use the cdn to host your images.
You can use something like https://github.com/thinkpixellab/PxLoader to preload the images.

Film strip image gallery [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
This is the layout of what I want to do.
2 divs are there.
Below one(rectangle shaped) should be used for image thumbnails which can be scrolled horizontally
Square on above is for the image that will be shown when clicked on thumbnail
Can anyone guide me how to proceed for thumbnails and scrolling.
Building something like this can be quite straight forward but can be time consuming. I think that the best way you should go around this would be to use something that is already been developed and is already out there and is free.
If you take a look there seems to be a lot of people who already have the code built and ready for download similar to what you are asking for
Hope this helps!

Use javascript to crop image [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to put a sprite image in my website, and use javascript to crop it to many separate images, then put these images into an image array.
Is this possible? Thanks.
Take a look at jCrop, if you're using jQuery or JavaScript Image Cropper UI if you're using prototype.
What server-side language are you using? If you just want a straight crop w/o the graphical interface it might be better to do it server side.
If you're using PHP, check out this tutorial on nettuts
If you're using Ruby on Rails, check out Paperclip

Categories