10Quality
Forum Replies Created
-
Forum: Plugins
In reply to: [Post Gallery] Problems with the last update.There are to red lines indicated in the image. Do you mind clicking on them, the link that goes like (post-new.php:25955).
Do you get any error in the error log (php)?
Forum: Plugins
In reply to: [Post Gallery] Problems with the last update.Can you please right click and select “inspect element” in your browser, and share any javascript errors present. I have the feeling the issue is due to an error in javascript.
Thanks
- This reply was modified 8 years, 3 months ago by 10Quality.
Forum: Plugins
In reply to: [Post Gallery] Problems with the last update.Do you mind sharing more details like an error log or something?
Also, more details like wordpress version and other plugins will become handy.As far as our testing goes, v2 has been running smoothly on different setups where we have tested the plugin, so this probably a very specific issue.
Thanks.
Forum: Plugins
In reply to: [Post Gallery] How add post form front end ?Hi @polatsedat
Our PRO extension supports customizable text overlays (text over the image).
Here is the link for if you are interested:
https://www.10quality.com/product/post-gallery-pro/- This reply was modified 8 years, 3 months ago by 10Quality.
Forum: Reviews
In reply to: [Post Gallery] Can’t add Custom URLHi @gabor123
Our pro extension supports custom url if you are interested:
https://www.10quality.com/product/post-gallery-pro/Regards.
Forum: Plugins
In reply to: [Post Gallery] Fatal error at activationWe have just released version 2
The error prompt is related to version 1, please update the plugin and let us know if the issue persist.
Forum: Plugins
In reply to: [Post Gallery] How add post form front end ?We might consider this feature for the pro version of the plugin to be released soon…
In the mean while, you can do the following: When adding a picture (either uploading a new one or selected one from your library), you will see a little form in the WordPress Media Uploader that will let you add a name, caption, alternative text and description to you image… Add the wanted text in the description and then customize the view template (as stated in the documentation) as follows:
Something like this:
<div class="post-gallery"> <?php foreach ( $post->gallery as $attachment ) : ?> <a href="<?php echo $attachment->url ?>" data-lightbox="post-gallery-<?php echo $post->ID ?>" <?php if ( $attachment->caption ) : ?> data-title="<?php echo $attachment->caption ?>" <?php endif ?> > <img src="<?php echo $attachment->thumb_url ?>" alt="<?php echo $attachment->alt ?>" /> <?php if ( $attachment->post_content ) : ?> <span class="description"> <?php echo $attachment->post_content ?> </span> <?php endif ?> </a> <?php endforeach ?> </div>You will need to add CSS to adjust it to your needs. Although this will only be added in the thumbs, not in the lightbox.
Forum: Plugins
In reply to: [Post Gallery] PHP7 CompatabilityNew version of the plugin to be released (version 2) soon was tested on php 7.1.9 and ran with no reported fatal errors.
Forum: Plugins
In reply to: [Post Gallery] About custom post types related – acfYou can for sure, just limit you your loop in your template.
Sample code in your template:
<?php $attachments = get_gallery( $post_id ) ?> <?php for( $i = 0; $i < count( $attachments ) && $i < 4; ++$i ) : ?> <?php $attachment = $attachments[$i] ?> <?php endfor ?>See how I limited my
forloop to only 4 pictures…- This reply was modified 8 years, 3 months ago by 10Quality.
Forum: Reviews
In reply to: [Post Gallery] Can’t add Custom URLCurrent version won’t. But we are indeed thinking into building an “PRO” add-on that will let you add external links, youtube videos and more. Will keep you posted.
Forum: Plugins
In reply to: [Post Gallery] About custom post types related – acfI am not getting what you are trying to accomplish, but there are lots of ways to customize and display a specific gallery.
You can read this at the plugin documentation.
You can use the following global functions to accomplish what you are looking for:
the_gallery( $post_id )or$attachments = get_gallery( $post_id )Maybe you can show the exact issue with code samples.
Forum: Reviews
In reply to: [Post Gallery] Can’t add Custom URLThanks for the review gabor!
You actually can custom urls… this plugin uses WordPress Media system to upload / handle images. If you notice, when you click on add image, WordPress will prompt the media uploader which has many options for you handle media, on the left side you will see an option that lets you add a media from a custom url.
Hope this helps! Thank you for the 5 stars.
Forum: Plugins
In reply to: [Post Gallery] PHP7 CompatabilityNot yet, we have to evaluate vendor packages as well.
In the mean time we recommend to hide DEPRECATED notices on wordpress so you don’t run into troubles.
You can add this line on you wp-config.php file:
error_reporting(E_ALL ^ E_DEPRECATED);Regards.
Forum: Plugins
In reply to: [Post Gallery] Media files copied with id prefixThis plugin uses default WordPress Media system to handle images. The process of uploading an image is handled by wordpress, not by the plugin. WordPress will always create a new record in its database per each media uploaded, and will create default size variations for optimizations.
If you wish to delete an image you will have to do it by managing them in WordPress Media option in the admin dashboard.
Forum: Plugins
In reply to: [Post Gallery] Adding the caption below the photoThe caption is by default located below the image during full-size viewing, as shown here:
http://lokeshdhakar.com/projects/lightbox2/If you wish to change the way lightbox works, then we recommend to customize the gallery template, as indicated in the plugin’s documentation.
You can use different lightbox/galleries alternatives also, make sure to deactivate auto-enqueue on the galleries settings and to enqueue your files using action:
add_action( 'post_gallery_enqueue', 'your_callback' )