0

Hi All,

I am creating an "About Us" portfolio page for a company. On this page will be a small bio and a photo.

The bio is not a problem, uploading and storing/calling the image is not a problem, as i already have code i can reuse.

The part i am struggerling to get my head around, as just cant seem to imagine the functions, is how to choose/select a photo to link to the bio from what is available in a "photo" folder on the server.

Images would need to be changable -> this would be from an Admin section.

I am not after code, just a kinda flow process.

Thanks in advance.

3
Contributors
3
Replies
14
Views
4 Years
Discussion Span
Last Post by Squidge
0

Sorta...
click on 'change image' link->
opens page of thumbs->
click on thumb->
updates db table to link to pic to show with portfolio.

0

Make an admin section which lists your bios. Place an edit button next to the bios and make a PHP page which loops through the folder and shows your pictures and maybe a thumbnail. Put a select button next to each image and add some PHP code to the button which connects the image to the bio (for example through a database, Bio1 > Image764.jpg).

Just an idea.

EDIT: I was typing when TonyG posted his answer.

Edited by lukas.vandendijssel

0

hahaha many thanks to both.

@TonyG,

Wolud this need the thumb image to be a button?

@Lukas,

Thanks for the link, will have a look through that.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.