Solved

Upload image, insert image path and select image in loop.

Posted on 2009-03-30
6
282 Views
Last Modified: 2012-05-06
I want to create a blog type system with images. I can probably figure out the text stuff however have no experience with images. The form is something like this ..

Header text
Content text
Image

I need it to create a thumbnail and make the thumbnail a hyperlink to large version (open in pop up window or possibly iframe), also need to resize large version if it's above a certain resolution. Would like image file names to be random. Also need to insert ID to allow for updates at a later time. The select stuff for images I need help with too.

Eventually there's a loop like this ..

Header text
Content text
Image

Header text
Content text
Image

Header text
Content text
Image

Header text
Content text
Image

Header text
Content text
Image

I looks forwards to seeing your suggestions.
0
Comment
Question by:FatzStallone
  • 4
  • 2
6 Comments
 
LVL 20

Expert Comment

by:Gawai
ID: 24026560
seems u asked many questions in one thread, u need to ask seperately
for your info, experts are here not to do a  programing for any one here.
if u have already code,  post it here so we will see where is the  problem in your code


1 -  upload and resize
ref : http://www.4wordsystems.com/php_image_resize.php

i suggest you to ref this tutorial site
http://www.tizag.com/mysqlTutorial/
0
 
LVL 1

Author Comment

by:FatzStallone
ID: 24033178
My question is, how do I create this kind of a blog? Cannot make it shorter than that.

Thanks for links qawai, I know how to upload and resize already however I don't know how to insert image path to sql, or how to create two image from one (thumbnail and large) or how to select the images into htm. I'm after code for insert (form) and select (htm table).
0
 
LVL 1

Author Comment

by:FatzStallone
ID: 24035089
Well if I can learn the following I might be able to do the rest myself. Upload image, insert image path to sql and select the image path(s) in a loop?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 20

Assisted Solution

by:Gawai
Gawai earned 150 total points
ID: 24036624
0
 
LVL 1

Author Comment

by:FatzStallone
ID: 24066379
I think it might be easier if I work an existing platform. Anyone any recommendations?
0
 
LVL 1

Accepted Solution

by:
FatzStallone earned 0 total points
ID: 24084504
I am now working with central management systems, they're more than capable of achieving this and more.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now