You would need to save the image name and path to the database then do
a redirect back to the page with a refresh.
You would also need a method in the controller for loading the sidebar images
from the database.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )