Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

photo thumbnail url path is incorrect when liking an album

9 years 8 months ago
  • Matt's Avatar
    Topic Author
  • Matt
  • Offline
  • Fresh Boarder
  • Posts: 25
  • Thank you received: 0
Licenses:
JomSocial Active

If Joomla is installed within a subfolder of a site e.g. www.xyz.com /home/ then if someone likes an album, the thumbnail that should appear in the activity stream doesn't show.

If you inspect the element in Chrome, you can see the thumbnail is using a relative link. For example the thumbnail for a video that's been liked would correctly show as an absolute link

<img src =" wwww.xyz.com/mysite/images/videos/91/thumbs/D2nnzxpjyJq.jpg ">

but one for an album ends up as a relative link:

<img src="/images/photos/91/1/thumb_fee28fe68f727f56198ec164.jpg">

Interestingly, if I manually change the photo used as a cover, it correctly updates to include the /home/ as part of the relative image source e.g.:

<img src="/home/images/photos/91/1/thumb_74d9e90b9efaf6d3f6200cd3.jpg">

Attachments:
9 years 8 months ago
Licenses:

Hi, Matt.

Please provide us with working administrator credentials.
I can't login to your site.
Please, edit your first post and add credentials to corresponding fields.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 8 months ago
  • Matt's Avatar
    Topic Author
  • Matt
  • Offline
  • Fresh Boarder
  • Posts: 25
  • Thank you received: 0
Licenses:
JomSocial Active

I've now corrected this.

9 years 8 months ago
Licenses:

Hi, Matt.

Please upgrade to JomScoial 3.2.1.1 and check if issue persist.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 8 months ago
  • Matt's Avatar
    Topic Author
  • Matt
  • Offline
  • Fresh Boarder
  • Posts: 25
  • Thank you received: 0
Licenses:
JomSocial Active

Almost.

If a new album is created, it has the correct thumbnail path, but if an existing one is modified and a new image set as the Cover, then the / is missing after the subfolder name

<img src="/homeimages/photos/913/2/thumb_b5734264c43c2e3cdab57e43.jpg">

9 years 8 months ago
Licenses:

Hi, Matt.

Ok, please, upgrade again to current version 3.2.1.2 and check again.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 8 months ago
  • Matt's Avatar
    Topic Author
  • Matt
  • Offline
  • Fresh Boarder
  • Posts: 25
  • Thank you received: 0
Licenses:
JomSocial Active

3.2.1.2 is what it updated to already when I ran the iJoomla installer.

9 years 8 months ago
Licenses:

Hi, Matt.

I'm sorry, I missed that.
Ok, then I assign developer to this thread to take a look.
Please, edit your first post and add FTP credentials as they may be needed.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 8 months ago
Licenses:

Hi Matt,

I confirmed this is a valid bug if your site using sub folder at sub domain. domain.com/subdomain not subdomain.domain.com

please wait our fixes. but for temporary I already made the fixes:
/home/components/com_community/tables/album.php line 218

from
return $this->getCoverThumbPath();
to
return str_replace('homeimages', 'home/images', $this->getCoverThumbPath());

Regards,
Albert

The following user(s) said Thank You: Matt
9 years 8 months ago
Licenses:

Hi Matt,

the fixes for this issue included at Jomsocial next release.

Regards,
Albert

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW