- Posts: 17
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- After Update 2.8 to 2.9 images from custom fields are not shown anymore
After Update 2.8 to 2.9 images from custom fields are not shown anymore
- Ralf
- Topic Author
- Offline
- New Member
Less
More
6 years 1 month ago - 6 years 1 month ago #169384
by Ralf
After Update 2.8 to 2.9 images from custom fields are not shown anymore was created by Ralf
Hi Overthere,
my users pasted links to images as relative paths in an Extra Field "Image",
e.g. /images/medienservice/Saison%202018/Alle%20Motive/Vorschau/Jingle_Bells.jpg
which worked just fine.
After the update the urls are shown exactly as that relative path and therefore don't show the images, e.g.
https://images/medienservice/Saison%202018/Alle%20Motive/Vorschau/Jingle_Bells.jpg
After some try and error I noticed that the images reappear when deleting the leading slash in the extra field.
Was there some automatism in 2.8 that removed the leading slashes?
Any suggestions?
Thx in advance,
Ralf
my users pasted links to images as relative paths in an Extra Field "Image",
e.g. /images/medienservice/Saison%202018/Alle%20Motive/Vorschau/Jingle_Bells.jpg
which worked just fine.
After the update the urls are shown exactly as that relative path and therefore don't show the images, e.g.
https://images/medienservice/Saison%202018/Alle%20Motive/Vorschau/Jingle_Bells.jpg
After some try and error I noticed that the images reappear when deleting the leading slash in the extra field.
Was there some automatism in 2.8 that removed the leading slashes?
Any suggestions?
Thx in advance,
Ralf
Last edit: 6 years 1 month ago by Ralf.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 1 month ago #169395
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic After Update 2.8 to 2.9 images from custom fields are not shown anymore
Previously this did not work correctly - the problem was only visible actually when using Joomla in a subfolder. My guess is you always modified the path to add the slash, even after the image path was inserted by Joomla's media manager. Is that correct?
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Ralf
- Topic Author
- Offline
- New Member
Less
More
- Posts: 17
6 years 1 month ago #169419
by Ralf
Replied by Ralf on topic After Update 2.8 to 2.9 images from custom fields are not shown anymore
Can you please elaborate so I get a clearer understanding?
What do you mean by previously? Like prior to 2.9?
And "did not work correctly" does mean... what in detail? :-)
J is installed in webroot
Actually I can't tell wether the users added slashes each time they copied an URL from the media-manager. The one responsible at the moment is taking leave of absence right now and will only be back on Oct 8th.
What is the correct way of doin' it at the moment? Have I to replace all leading slashes in the DB?
What do you mean by previously? Like prior to 2.9?
And "did not work correctly" does mean... what in detail? :-)
J is installed in webroot
Actually I can't tell wether the users added slashes each time they copied an URL from the media-manager. The one responsible at the moment is taking leave of absence right now and will only be back on Oct 8th.
What is the correct way of doin' it at the moment? Have I to replace all leading slashes in the DB?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 1 month ago #169424
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic After Update 2.8 to 2.9 images from custom fields are not shown anymore
If a website was in domain.tld/some/folder/ that feature would not create the correct path to the image inserted in that extra field type. This is what was fixed. It's possible your editors manually edited these paths, as when they are added by Joomla, there is no leading slash added (path looks like "images/some/folder/image.jpg").
Thankfully, you can normalize that behaviour with a check in your overrides.
It would greatly help if you provided a URL to your site and at least your item.php override (if there is any) from inside your template's /html/com_k2/default/ folder.
Thankfully, you can normalize that behaviour with a check in your overrides.
It would greatly help if you provided a URL to your site and at least your item.php override (if there is any) from inside your template's /html/com_k2/default/ folder.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Ralf
- Topic Author
- Offline
- New Member
Less
More
- Posts: 17
6 years 1 month ago #169449
by Ralf
Replied by Ralf on topic After Update 2.8 to 2.9 images from custom fields are not shown anymore
Ah, ok, and no as I said we're in webroot.
For URL and item.php I'd like to send you a pm but couldn't find out how. In case I missed it please show me the way elsewise please contact me on pm.
Thx :-)
For URL and item.php I'd like to send you a pm but couldn't find out how. In case I missed it please show me the way elsewise please contact me on pm.
Thx :-)
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
6 years 1 month ago #169464
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic After Update 2.8 to 2.9 images from custom fields are not shown anymore
Use our contact form here: www.joomlaworks.net/support/contact
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- After Update 2.8 to 2.9 images from custom fields are not shown anymore