Members: 16,996
Threads: 38,866
Posts: 159,475
Online: 39

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 28.10.2004, 17:25   #1 (permalink)
Baby Mamber
 
Join Date: Jul 2004
Posts: 9
jingo is on a distinguished road
Default Missing picture?

Hi there!

I have this wierd problem with a site of mine missing a picture.

Actually, its much easier if you follow this link to see the problem in action.

Follow this link...

As you see, its a Content - Blog Section wich contains the error. If I create a new Blog Section and directs it to another section that the one with the error above, it works out fine.

Im of course willing to test everything possible - just let me know.

Im running Mambo 4.5.1 fyi.

Thanks in advance!
jingo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 28.10.2004, 21:27   #2 (permalink)
Baby Mamber
 
Join Date: Jul 2004
Posts: 9
jingo is on a distinguished road
Default Re: Missing picture?

Me again...

Foud out something in the meantime:

In content.php located at /components/com_content - i found this code bit:

if ( $menu->componentid && ( $descrip || $descrip_image ) ) {
$link = $mosConfig_live_site.'/images/stories/'. $description->image;
echo '<tr>';
echo '<td valign="top">';
if ( $descrip_image ) {
echo '<img src="'. $link .'" align="'. $description->image_position .'"hspace="6" alt="" />'
}
if ( $descrip ) {
echo $description->description;
}
echo '<br/><br/>';
echo '</td>';
echo '</tr>';

And if I change "" $link = $mosConfig_live_site.'/images/stories/ "" to
"" $link = $mosConfig_live_site.'/images/stories/key.jpg "" - then the the key picture shows up in the site.

Can anyone help me translate the code bit - to solve this issue?
Thanks!
jingo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.10.2004, 04:07   #3 (permalink)
Senior Mamber
 
Troubadour's Avatar
 
Join Date: Apr 2004
Location: Melbourne, Australia
Posts: 129
Troubadour is an unknown quantity at this point
Send a message via AIM to Troubadour
Default Re: Missing picture?

Yep - solution is in this thread
__________________

t h i n k s y n c
corporatecreativemedia
http://www.thinksync.com.au
Troubadour is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.10.2004, 08:28   #4 (permalink)
Baby Mamber
 
Join Date: Jul 2004
Posts: 9
jingo is on a distinguished road
Default Re: Missing picture?

Thanks alot Troubadour!

Solved it perfectly!
jingo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14.12.2004, 20:03   #5 (permalink)
Senior Mamber
 
pocketom's Avatar
 
Join Date: Aug 2004
Location: Germany
Posts: 184
pocketom is on a distinguished road
Send a message via ICQ to pocketom Send a message via MSN to pocketom
Default Re: Missing picture?

Simply delete the following from content.php if you dont want to set description and image option in every blog...

Code:
  // Secrion/Category Description & Image
  if ( $menu->componentid && ( $descrip || $descrip_image ) ) {
   $link = $mosConfig_live_site .'/images/stories/'. $description->image;
   echo '<tr>';
   echo '<td valign="top">';
   if ( $descrip_image ) {
	echo '<img src="'. $link .'" align="'. $description->image_position .'" hspace="6" alt="" />';
   }
   if ( $descrip ) {
	echo $description->description;
   }
   echo '<br/><br/>';
   echo '</td>';
   echo '</tr>';
  }
This way i got rid of that, because i dont need that feature and i'm a really lazy guy... ;-)
__________________
LET'S MAMBO NOT SPAMBO


Mambo got emailcloaking!
pocketom is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
picture problem raggi72 Mambo 4.5.1 'How Do I' Questions 0 19.10.2004 23:40
Problem with picture at "mamboads" lior_avr Component Development 1 25.07.2004 14:30
random picture zoom gallery hansy51 Mambo 4.5 'How Do I' Questions 12 15.06.2004 15:12
how to change a picture in the template top area mambomaster Mambo 4.5 'How Do I' Questions 1 08.06.2004 15:33
AKOGallery Component -> picture previews not showing when editing after saving literati Component 'How Do I' Questions 0 25.04.2004 04:20


All times are GMT +2. The time now is 06:20.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.