Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Lack of photo description in the gallery generates an error

Asked Modified Viewed 815 times
A
Apis
A
Apis 12
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
asked
Junior Member

In PHPFusion 7, it was possible to add a large number (whole directories) of photos to albums in the gallery. It was a convenient function, but the photos added in this way had no description - which is now necessary in PHPFusion 9.

The gallery after upgrading from v7 / 8 to v.9 generates errors in some albums, caused by the lack of description of photos. In some themes, the lack of an image description causes the "previous-next" buttons to be cut (attachment).

In an extensive website - where there are several thousand photos - it is difficult to "manually" correct these errors. Could it be possible in future amendments to introduce a function that would insert the name of the file in the absence of a description of the photo - eg DSCNXXXXX, imgXXX etc.?
Edited by Apis on 26-03-2021 09:47,
Apis attached the following image:
Image not found
0 replies

4 posts

R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

Description is optional.

Quote

causes the "previous-next" buttons to be cut (attachment).

This is not caused by missing description. It's just small css bug and is already fixed.
0 replies
A
Apis
A
Apis 12
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
answered
Junior Member

OK - the photo description is optional for newly added photos. When upgrading from PHPFusion v.7 / 8 to v.9 and updating / activating the Gallery, the need to describe the photo is enabled by default. If any photo in the album has no description - an error with the following content appears:

File: gallery.php
Page: /zegluga-9/infusions/gallery/gallery.php?album_id=61
Line: 254
Error message: Undefined index: image

But this is not a serious matter - it does not affect the operation of the website. Since button clipping is not related to this - this problem can be omitted.
0 replies
R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

I plan to rewrite the gallery template so maybe I find more bugs.

It will be fixed in v9.10.
0 replies
— 30 days later —
A
Apis
A
Apis 12
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
answered
Junior Member

With SEO enabled, an image in the gallery that has no description will not be displayed. Tested on versions v.9.03.110 and unofficial yet v. 9.10 Andromeda.
Edited by Apis on 26-04-2021 17:37,
0 replies

Labels

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

R
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
A
A
Apis 12
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet