Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • timtecsa Friend
    #902094

    Do you have the image address entered in both positions in "Images and Links" tab ?

    skipcorp Friend
    #902121

    thank 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 Friend
    #902131

    Images seem to be there but are 845px wide by 0px height ??
    Maybe some odd css somewhere ?

    skipcorp Friend
    #902190

    I was check it my friend .. not that .. and how CSS be changed If I not do that ? any idea ?? thanx

    timtecsa Friend
    #902208

    Do you have a backup from before the problem that you can restore to another folder for comparison?

    skipcorp Friend
    #902228

    really 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 Friend
    #902234

    I’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,
    Tim

    Ninja Lead Moderator
    #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.

    skipcorp Friend
    #904903

    thank you .. really I like your job

Viewing 9 posts - 1 through 9 (of 9 total)

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.