Coder Social home page Coder Social logo

navneil-naicker / acf-photo-gallery-field Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 8.0 175 KB

An extension for Advance Custom Fields which lets you add photo gallery functionality on your websites.

Home Page: https://www.navz.me/

License: GNU General Public License v2.0

PHP 71.36% CSS 4.84% JavaScript 23.80%

acf-photo-gallery-field's Introduction

Hello, I'm Navneil Naicker

Passionate Polyglot Software Engineer of 10+ years from Suva, Central, Fiji

Connect with me:

navzme navneil navneil-naicker

acf-photo-gallery-field's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

acf-photo-gallery-field's Issues

Field is not saving in DB

After adding images and saving the post, the field isn't saved in the DB and images are removed again from backoffice

Unexpected end of JSON input

I add Photo Gallery Field to post without some special settings, but when i create new post and add some images into i can't remove unwanted images and in console i have an error
Uncaught SyntaxError: Unexpected end of JSON input
The delete function only works after publishing or save as draft.

WordPress 4.9.8
ACF Photo Gallery Field 1.6.3

Conflict with GDPR Framework causes Fatal Error

When using your plugin with the GDPR Framework, it throws a 500 error:

PHP Fatal error: Cannot redeclare my_profile_update() (previously declared in /web/wp/wp-content/plugins/gdpr-framework/gdpr-framework.php:202) in /web/wp/wp-content/plugins/navz-photo-gallery/includes/acf_photo_gallery_save.php on line 42

I fixed this by changing your function name from "my_profile_update" tp "navz_my_profile_update" in this file: includes/acf_photo_gallery_save.php

Error when showing on REST

ACF-photo-gallery-field: 1.9
ACF: 6.1.6

PHP Fatal error: Uncaught Error: Call to undefined method stdClass::format_value_for_rest() in .../plugins/advanced-custom-fields/includes/rest-api/acf-rest-api-functions.php:75

With field location set to a specific page (or probably any other), and also 'Show in REST' option turned on, an error occurs on endpoint /wp-json/wp/v2/pages and when trying to edit the specific page that uses this field.

Besides that, the plugin is great!

Illegal string offset 'name' in acf_photo_gallery.php on line 10 (v 1.7.1)

Hi,

I have warning message in template after update to v 1.7.1:

Warning: Illegal string offset 'name' in .../wp-content/plugins/navz-photo-gallery/includes/acf_photo_gallery.php on line 10

No Elementor or Gutenberg used. Only raw php/html template

I solved this by return to previous version of acf_photo_gallery.php

"Open in New Tab" not working

Hi!

First of all, amazing plugin - thanks! Secondly, I can't make it work with the "open in new tab". When I select it and update, it is automatically removed.

Any ideas?

get_field didn't work

Hi,
a line with a leading underline has recently been added to postmeta.
when I save an old entry again, this line is added.
If this row is in the database, no more data will be returned with get_field ().
The value of the line is the Field ID ("field_XXXXXXXXXX")

Can't edit image properties (link, alt, caption, title, ...)

Hi there,

First of all, thanks for this awesome plugin.

I have trouble when using this plugin (pls see the image below). I can't edit the image properties b/c the CSS class acf-gallery-backdrop
Can you help me fix that, please?

I'm using
ACF Photo Gallery Field: 1.6.8
Wordpress: 5.3.2
Advanced Custom Fields: 5.8.9

image

translate text

how translate this text? You are about to remove this photo from the gallery
i tried with locotranslate but not found text string

meta_key is not getting created in the postmeta table

I created a photo gallery field called 'banner' from the ACF for the user profile page. However, when I upload the images and save the profile, the meta_key (_banner in my case) is not created. As a result, the images do not render on the front end.

Donation function breaks Elementor Editor

I couldn't enter elementor editor today until I deactivated your plugin.

debug.log show: "PHP Warning: Undefined array key "option" in /home/www/nse24/wp-content/plugins/navz-photo-gallery/includes/acf_photo_gallery.php on line 52"

When I comment out line 78 (add_action('wp_ajax_apgf_update_donation', 'apgf_update_donation' )) in "navz-photo-gallery/includes/acf_photo_gallery.php" everything works again

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.