Wrox Programmer Forums
|
BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8
This is the forum to discuss the Wrox book Professional CodeIgniter by Thomas Myer; ISBN: 9780470282458
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 28th, 2008, 03:11 PM
Registered User
 
Join Date: Aug 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Thumbnail images do not show up

The main image "logo.jpg" shows up fine. But all thumbnail images are broken links. They are not following the base url.
For example, I have my site in a test folder called "ProCI". My base url is "http://www.mysite/ProCI/".
The image that works has a path of "http://www.mysite/ProCI/images/logo.jpg" but all the thumbnails have a path of "http://www.mysite.com/images/dummy-thumb.jpg". It is missing the "ProCI" portion of my base url.
What is causing this???
Any help would be immensely appreciated.

 
Old September 2nd, 2008, 11:32 AM
Registered User
 
Join Date: Sep 2008
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default

Try 2 add base_url():
<img src='".base_url().$list['thumbnail']."' border='0' class='thumbnail'/>

Worked by me:)

 
Old September 2nd, 2008, 01:00 PM
Registered User
 
Join Date: Aug 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you very much!!!!!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Display thumbnail images in multiple rows arpd2005 .NET Framework 2.0 0 May 26th, 2006 01:09 PM
How to show thumbnail in the GridView/DataList walgr2k ASP.NET 2.0 Basics 1 May 20th, 2006 10:17 AM
how I can show and upload a images Alexds ASP.NET 1.x and 2.0 Application Design 2 May 19th, 2005 04:14 PM
Datagrid to display thumbnail images sam.johnston@jtisys.com VB.NET 3 January 19th, 2004 01:36 PM
Show Images from Database morpheus Classic ASP Basics 12 December 16th, 2003 04:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.