10 years ago
Topic

Hello all,

I have a "funny" problem with the intro image.

Indeed, the image is not stored but the first time since the second guard.

After analyzing the URLs that are in priveira time I try to save the image in the url is supposedly "mydomain.com/images/news/[introImage]" in this case, the image is not actually on the server.
When I save the second time, the url is "mydomain.com/images/news/[art_id]/[introImage]" but here the image is saved.

As you can see the url changes.

The question is: How do I save right in the first time?

Thanks in advance,

BN

Get a Book for SEBLOD
175 Posts
webcastor
10 years ago
1
Level 1

Your explanation was a little sketchy, but it seams that you are using a custom Upload Image field, and not the art_image_intro field.

Anyway, I found some issues with saving images in cases when there still does not exist the destination "root" folder for images, as for example /images/news/ in your case. However, if the folder already exist, and is (for consistency reasons) filled with the final / (i.e. /images/news/), I found it works fine. I would also like to mention that Advanced Mode is set to Yes (JSON-Formatted value) and storage is set to JSON | Article | image.

10 years ago
0
Level 2

Hi webcastor,

Thanks or your reply,

Actually I'm using the art_image_intro field. 

Probably, I changed its configuration. And now is not working properly, it is possible that you, or anyone, can put here for a print with the original settings of the field?

I tried what you did you say to me, but without success. Did not work: /

Thanks in advance.
BN

4229 Posts
Kadministrator
10 years ago
6
Level 1

Here is original configuration

http://i.share.pho.to/a97629cd_o.png

10 years ago
0
Level 2

Hi Klass,

Thank you so much.

Helps you me greatly. But I still decided to use Image Upload, my mistake is that I had a folder by content, by turning off the option, has resulted.

Again, thank you. 

BN

10 years ago
4
Level 2

Hi Klass,

Sorry to bother you again and this topic "solved".

I noticed a problem with my "solution".

Better explaining the situation, I on my site, I have the module GK5 news and the CB. At CB, I show, with no problem, items with intro_image (manual code), but the GK5, no picture.

Any idea how to solve?

Here's a print settings.

I really need help. 


Thanks in advance.
BN

175 Posts
webcastor
10 years ago
3
Level 3

I must point out that you swapped the two words in the field storage name attribute, it's image_intro, not intro_image

My guess is that CB shows it because it renders joomla content (and that goes through seblod), but GK5 reads directly the value from database and does not find JSON field image_intro in column images.

10 years ago
2
Level 4

Hi webcastor,

Many, many thanks.

Do not know how I changed the order of the words. But finally works properly.

Thanks again :D

Cya
BN

9 years ago
1
Level 5

hello , 

how the problem was solved now ? 

You've now got it right , the GK5 also displays images in combination with Seblod ? 

Thanks & Regards Torsten

9 years ago
0
Level 6

Hi Torsten,

I just change de name of the field, and addind the field to my forms, it worked.

In same cases, that is not the best solution, like in my products form, the user have to insert some images, and one more imageto the intro (normaly the first one), but it works for now.

Rgrds,

BN

Get a Book for SEBLOD