- Posts: 15
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- Problem with ALT attribute - alt="|||||||||" (image_caption)
Problem with ALT attribute - alt="|||||||||" (image_caption)
- jabeznika
- Topic Author
- Offline
- New Member
Less
More
3 years 5 months ago - 3 years 5 months ago #178981
by jabeznika
Problem with ALT attribute - alt="|||||||||" (image_caption) was created by jabeznika
Hello!
I have problem with ALT attribute - it shows unknown symbols (alt="|||||||||").
For instance, <img src="/media/k2/items/cache/ba1b7eb9b8ad142948e3b9dce300b4c6_M.jpg" alt="|||||||||">
It is from table k2_items - image_caption and image_credits fields.
K2 generate these symbols
I have problem with ALT attribute - it shows unknown symbols (alt="|||||||||").
For instance, <img src="/media/k2/items/cache/ba1b7eb9b8ad142948e3b9dce300b4c6_M.jpg" alt="|||||||||">
It is from table k2_items - image_caption and image_credits fields.
K2 generate these symbols
Last edit: 3 years 5 months ago by jabeznika.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
3 years 5 months ago #178995
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Problem with ALT attribute - alt="|||||||||" (image_caption)
This is not normal and points to some error in a template override.
Since you're not telling me where this happens exactly (e.g. some module, the category view, the item view?), you need to check if you have any template overrides for K2 in your template's html/ folder.
Since you're not telling me where this happens exactly (e.g. some module, the category view, the item view?), you need to check if you have any template overrides for K2 in your template's html/ 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.
- jabeznika
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
3 years 4 months ago - 3 years 4 months ago #179195
by jabeznika
Replied by jabeznika on topic Problem with ALT attribute - alt="|||||||||" (image_caption)
Can you just say, which PHP file is responsible for data insert in #_k2_items?
I'll try to fix it myself
I'll try to fix it myself
Last edit: 3 years 4 months ago by jabeznika.
Please Log in or Create an account to join the conversation.
- Goble002
- Offline
- Premium Member
Less
More
- Posts: 157
3 years 4 months ago #179204
by Goble002
Replied by Goble002 on topic Problem with ALT attribute - alt="|||||||||" (image_caption)
I you are using override and you are talking about main picture on item page.
it should be /templates/your-template/html/com_k2/default/item.php > Line 199
it should be /templates/your-template/html/com_k2/default/item.php > Line 199
Please Log in or Create an account to join the conversation.
- jabeznika
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
3 years 4 months ago - 3 years 4 months ago #179206
by jabeznika
Replied by jabeznika on topic Problem with ALT attribute - alt="|||||||||" (image_caption)
I deleted title attribute from item.php
But problem is, that it insert ||||||||| in image_caption field in SQL
SQL query is not in item.php
But problem is, that it insert ||||||||| in image_caption field in SQL
SQL query is not in item.php
Last edit: 3 years 4 months ago by jabeznika.
Please Log in or Create an account to join the conversation.
- Goble002
- Offline
- Premium Member
Less
More
- Posts: 157
3 years 4 months ago #179208
by Goble002
Replied by Goble002 on topic Problem with ALT attribute - alt="|||||||||" (image_caption)
Try to use the original item.php or use a static value there for alt. It may narrow down the cause of the problem
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- Problem with ALT attribute - alt="|||||||||" (image_caption)