J1.5

Difference between revisions of "Why don't contact images display correctly in version 1.5.8?"

From Joomla! Documentation

m (Contact Images moved to Why don't contact images display correctly in version 1.5.8?: make title consistent with other faqs)
m (clean up categories with <noinclude> tags)
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
In Joomla! 1.5.8 images might not displaying on contact pages. This issue will be fixed in the next release (1.5.9), but until then here are the steps how you can fix it yourself:
+
In Joomla! 1.5.8 images might not be displayed on contact pages. This issue will be fixed in the next release (1.5.9), but until then here are the steps how you can fix it yourself:
  
1. Open components/com_contact/views/contact/tmpl/default.php with a text editor.
+
# Open components/com_contact/views/contact/tmpl/default.php with a text editor.
 
+
# Find this line (line 52): <source lang="php"><?php echo JHTML::_('image', '/images/stories' . '/'.$this->contact->image, JText::_( 'Contact' ), array('align' => 'middle')); ?></source>
2. Find this line (line 52):
+
# Change this line to the following and save the file (note the missing '/' in front of the second parameter): <source lang="php"><?php echo JHTML::_('image', 'images/stories' . '/'.$this->contact->image, JText::_( 'Contact' ), array('align' => 'middle')); ?></source>
 
 
<source lang="php">
 
<?php echo JHTML::_('image', '/images/stories' . '/'.$this->contact->image, JText::_( 'Contact' ), array('align' => 'middle')); ?>
 
</source>
 
 
 
3. Change this line to the following and save the file:
 
 
 
<source lang="php">
 
<?php echo JHTML::_('image', 'images/stories' . '/'.$this->contact->image, JText::_( 'Contact' ), array('align' => 'middle')); ?>
 
</source>
 
  
 
A community member, Strats, [http://forum.joomla.org/viewtopic.php?p=1480142#p1480142 posted] the corrected file on the forum, so you can also download it there (registration is required on the forum to download files) and replace the original file with the new one.
 
A community member, Strats, [http://forum.joomla.org/viewtopic.php?p=1480142#p1480142 posted] the corrected file on the forum, so you can also download it there (registration is required on the forum to download files) and replace the original file with the new one.
  
[[Category:Version 1.5 FAQ]]
+
<noinclude>[[Category:Version 1.5 FAQ]]
 
[[Category:Version 1.5.8 FAQ]]
 
[[Category:Version 1.5.8 FAQ]]
 +
[[Category:FAQ]][[Category:Installation]]</noinclude>

Revision as of 16:28, 1 September 2012

The "J1.5" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

In Joomla! 1.5.8 images might not be displayed on contact pages. This issue will be fixed in the next release (1.5.9), but until then here are the steps how you can fix it yourself:

  1. Open components/com_contact/views/contact/tmpl/default.php with a text editor.
  2. Find this line (line 52):
    <?php echo JHTML::_('image', '/images/stories' . '/'.$this->contact->image, JText::_( 'Contact' ), array('align' => 'middle')); ?>
  3. Change this line to the following and save the file (note the missing '/' in front of the second parameter):
    <?php echo JHTML::_('image', 'images/stories' . '/'.$this->contact->image, JText::_( 'Contact' ), array('align' => 'middle')); ?>

A community member, Strats, posted the corrected file on the forum, so you can also download it there (registration is required on the forum to download files) and replace the original file with the new one.