Tagged: article photo
-
AuthorPosts
-
timtecsa Friend
timtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
March 19, 2016 at 12:17 pm #902094Do you have the image address entered in both positions in "Images and Links" tab ?
skipcorp Friendskipcorp
- Join date:
- February 2015
- Posts:
- 52
- Downloads:
- 65
- Uploads:
- 8
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
March 19, 2016 at 1:33 pm #902121thank you for replay .. Yes I do … BTW I use this template almost one year and every things is good .. but what happen now .. that’s what I need to know .. but I am old user on joomla more than 5 years ? thank you
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
March 19, 2016 at 2:51 pm #902131Images seem to be there but are 845px wide by 0px height ??
Maybe some odd css somewhere ?skipcorp Friendskipcorp
- Join date:
- February 2015
- Posts:
- 52
- Downloads:
- 65
- Uploads:
- 8
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
March 19, 2016 at 5:50 pm #902190I was check it my friend .. not that .. and how CSS be changed If I not do that ? any idea ?? thanx
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
March 19, 2016 at 6:08 pm #902208Do you have a backup from before the problem that you can restore to another folder for comparison?
skipcorp Friendskipcorp
- Join date:
- February 2015
- Posts:
- 52
- Downloads:
- 65
- Uploads:
- 8
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
March 19, 2016 at 6:14 pm #902228really I don’t know when that happen .. that’s because long time I not really sure what date ?? this is so hard .. but I think some of the admins will help me 🙂 I already give theme the user and password 🙂
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
March 19, 2016 at 6:31 pm #902234I’m sure they will find the cause and fix it for you.
A useful plugin that I use is j2xml Set Images. This ensures that the Images and Links boxes get properly populated. http://extensions.joomla.org/extensions/extension/migration-a-conversion/data-import-a-export/j2xml-set-images
Good luck,
TimNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 22, 2016 at 3:22 am #903146@skipcorp: This is not a bug about our product and it comes from custom work on your site, you have changed templates/ja_teline_v/html/layouts/joomla/content/image/intro.php file and it only get full image and not get intro image.
I fixed it on your site with the solution below
Open templates/ja_teline_v/html/layouts/joomla/content/image/intro.php file
find and change
if($view === 'article'){ if(isset($images->image_fulltext) && !empty($images->image_fulltext)){ $data['image'] = $images->image_fulltext; $data['alt'] = $images->image_fulltext_alt; $data['caption'] = $images->image_fulltext_caption; } }else if (isset($images->image_intro) && !empty($images->image_intro)) { $data['image'] = $images->image_intro; $data['alt'] = $images->image_intro_alt; $data['caption'] = $images->image_intro_caption; }
to
if($view === 'article'){ if(isset($images->image_fulltext) && !empty($images->image_fulltext)){ $data['image'] = $images->image_fulltext; $data['alt'] = $images->image_fulltext_alt; $data['caption'] = $images->image_fulltext_caption; } else if (isset($images->image_intro) && !empty($images->image_intro)) { $data['image'] = $images->image_intro; $data['alt'] = $images->image_intro_alt; $data['caption'] = $images->image_intro_caption; } }else if (isset($images->image_intro) && !empty($images->image_intro)) { $data['image'] = $images->image_intro; $data['alt'] = $images->image_intro_alt; $data['caption'] = $images->image_intro_caption; }
Now, you can see the image is showing well on the detail page.
-
AuthorPosts
This topic contains 9 replies, has 3 voices, and was last updated by skipcorp 8 years, 7 months ago.
The topic ‘article photo not shown’ is closed to new replies.