-
AuthorPosts
-
orsomannaro Friend
orsomannaro
- Join date:
- January 2008
- Posts:
- 241
- Downloads:
- 32
- Uploads:
- 18
- Thanks:
- 1
- Thanked:
- 3 times in 1 posts
July 1, 2015 at 6:51 am #208092Navigating the menu’ “Chi siamo” > “Le persone” with a smartphone, all is ok with Firefox, but other browsers (Samsung default, Chrome, Safari) show a gap (a white rectangle or a missing photo icon) between some photos.
How can I solve this?
Thank you.
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
July 2, 2015 at 6:15 pm #576150Hi @orsomannaro,
Could you please provide a screenshot about the problem so I can investigate the issue for you ?
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
July 2, 2015 at 6:15 pm #642476Hi @orsomannaro,
Could you please provide a screenshot about the problem so I can investigate the issue for you ?
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
July 2, 2015 at 6:15 pm #741135Hi @orsomannaro,
Could you please provide a screenshot about the problem so I can investigate the issue for you ?
orsomannaro Friendorsomannaro
- Join date:
- January 2008
- Posts:
- 241
- Downloads:
- 32
- Uploads:
- 18
- Thanks:
- 1
- Thanked:
- 3 times in 1 posts
July 3, 2015 at 4:33 pm #576318This what I see with my Samsung NOTE 3 using Samsung Browse and Chrome (Firefox is ok):
The same “gap” also appears sometimes between two photos.
-
orsomannaro Friend
orsomannaro
- Join date:
- January 2008
- Posts:
- 241
- Downloads:
- 32
- Uploads:
- 18
- Thanks:
- 1
- Thanked:
- 3 times in 1 posts
July 3, 2015 at 4:33 pm #642639This what I see with my Samsung NOTE 3 using Samsung Browse and Chrome (Firefox is ok):
The same “gap” also appears sometimes between two photos.
orsomannaro Friendorsomannaro
- Join date:
- January 2008
- Posts:
- 241
- Downloads:
- 32
- Uploads:
- 18
- Thanks:
- 1
- Thanked:
- 3 times in 1 posts
July 3, 2015 at 4:33 pm #741298This what I see with my Samsung NOTE 3 using Samsung Browse and Chrome (Firefox is ok):
The same “gap” also appears sometimes between two photos.
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
July 6, 2015 at 5:02 am #576438Hi @orsomannaro,
Thanks for the info. I checked again and look like the first row contains 2 blocks on left / right side but without any content and the HTML code is still there but with broken img tag.
By default, Firefox won’t display anything if there’s a broken img tag but Chrome treated it different, it display the icon as showed in your screenshot. Please kindly recheck and remove unused article / block in page Le persone
orsomannaro Friendorsomannaro
- Join date:
- January 2008
- Posts:
- 241
- Downloads:
- 32
- Uploads:
- 18
- Thanks:
- 1
- Thanked:
- 3 times in 1 posts
July 7, 2015 at 4:00 pm #576629Hi Adam M.
Thank for your help.
The page “Le persone” is generated with JA ACM module (type Teams : style-4).
To achieve the right image’s arrangement I must to keep some TEAM_MEMBER sections empty.
I suppose that this empty sections generate the broken img tag.
But I don’t know a different way to do the trick.
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
July 8, 2015 at 4:29 am #576679Hi @orsomannaro,
In this case, please provide a temporary FTP account via private reply, I will adjust the code a little bit to achieve your goal.
orsomannaro Friendorsomannaro
- Join date:
- January 2008
- Posts:
- 241
- Downloads:
- 32
- Uploads:
- 18
- Thanks:
- 1
- Thanked:
- 3 times in 1 posts
July 15, 2015 at 6:12 am #577460<em>@Adam M 481786 wrote:</em><blockquote>Hi @orsomannaro,
please provide a temporary FTP account via private reply, I will adjust the code a little bit to achieve your goal.
</blockquote>Hi Adam.
I sent you a message a few days ago.
Did you receive it?orsomannaro Friendorsomannaro
- Join date:
- January 2008
- Posts:
- 241
- Downloads:
- 32
- Uploads:
- 18
- Thanks:
- 1
- Thanked:
- 3 times in 1 posts
July 15, 2015 at 4:14 pm #577514I don’t know if this is the best way to do the job, but I solve the problem adding an “if” before the generation of “img” tag in ./templates/uber/acm/teams/tmpl/style-4.php:
from
[PHP]
<img src=”<?php echo $helper->get(‘member-image’, $i); ?>” alt=”<?php echo $helper->get(‘member-name’, $i); ?>” />
[/PHP]to:
[PHP]
<?php if($helper->get(‘member-image’, $i)): ?>
<img src=”<?php echo $helper->get(‘member-image’, $i); ?>” alt=”<?php echo $helper->get(‘member-name’, $i); ?>” />
<?php endif; ?>
[/PHP]Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
July 15, 2015 at 6:48 pm #577527Hi @orsomannaro,
Sorry for the delay in getting back to you. Yes, that’s what we need to add there. If the image is not set, just don’t show it instead of showing a broken image.
-
AuthorPosts
Viewing 13 posts - 1 through 13 (of 13 total)This topic contains 13 replies, has 2 voices, and was last updated by orsomannaro 9 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum