Page 1 of 1

selecting a specific category image keeps reverting to incorrect image

Posted: 15 Feb 2021, 18:02
by vtjoanne
I am selecting a specific image for a category. When I save and close, it displays, but after a while it reverts to the first image in the slide show?
Please advise as to why this is happening?

Re: selecting a specific category image keeps reverting to incorrect image

Posted: 15 Feb 2021, 23:16
by Benno
Hi,
Please advise as to why this is happening?
Yes, but:
Which Phoca Gallery version do you use?
Which Joomla! version do you use?
Which PHP version do you use?
Which method to create category images do you use?
Which URL?

Any additional information is helpful to solve the problem! :idea:

Kind regards,
Benno

Re: selecting a specific category image keeps reverting to incorrect image

Posted: 16 Feb 2021, 19:28
by vtjoanne
Phoca Gallery V 4.4.1
Joomla V 3.9.24
PHP V 7.3.11
Method > category > image(set which image will represent category) save & close.
http://prntscr.com/zr6ah4

Correct category image displays for a while but after a few minutes reverts to first image in category

katherinekavanaugh dot com

Thank you Benno :)

Re: selecting a specific category image keeps reverting to incorrect image

Posted: 16 Feb 2021, 22:35
by vtjoanne
FYI, I just realized that as soon as I make a change in the category such as adjusting the title, the image reverts to the default category (1st) image and as such the desired image is lost.

Re: selecting a specific category image keeps reverting to incorrect image

Posted: 17 Feb 2021, 13:56
by Benno
Hi, confirmed!
I will contact Jan.

Kind regards,
Benno

Re: selecting a specific category image keeps reverting to incorrect image

Posted: 17 Feb 2021, 21:48
by Jan
Hi, thank you for the info, confirmed, please download this file:
https://github.com/PhocaCz/PhocaGallery ... ctitem.zip

and unzip it to folder:
administrator\components\com_phocagallery\models\fields\
(file phocaselectitem.php will be overwritten)

This should solve it. Please, let me know.

Jan

Re: selecting a specific category image keeps reverting to incorrect image

Posted: 17 Feb 2021, 22:41
by Benno
Hi Jan,
in my case, it's fine now. :-)

Kind regards,
Benno

Re: selecting a specific category image keeps reverting to incorrect image

Posted: 19 Feb 2021, 19:43
by Jan
Ok, thank you for the info.

Jan

Re: selecting a specific category image keeps reverting to incorrect image

Posted: 03 Mar 2021, 01:22
by yapanta
Hello, I have the same problem and I use the latest version 4.4.2
Do I have to wait for the next version of phoca in order to solve it?
Thank you

Re: selecting a specific category image keeps reverting to incorrect image

Posted: 03 Mar 2021, 14:59
by Jan
Hi, yes, this will be included in version 4.4.3. For now just use the quick fix (copy the file which is included here to your website)

Jan