Hello. I’m using a shortcode for my site gallery at the bottom of this page
however. I would like the gallery to be displayed in a grid view instead of a single column. How can I fix this? Thanks.
I have default gird selected for all my galleries
the gallery on this page is a shortcode to the site gallery.
At least it displays something on this page
however when I try to visit the site gallery page
it cant be found
http://clan.olladitan.com/http:/clan.olladitan.com/gallery/user-galleries/site-gallery/
http://clan.olladitan.com/gallery/
mediapress 1.4
buddypress 3.1
wordpress 4.9.6
Hi Buko,
Welcome to BuddyDev.Please visit Dashboard->MediaPress->Tools and share the details.
I am assuming the problem lies with the archive slug.
It seems you have sitewide gallery and user galleries both enabled and the BuddyPress Gallery directory as well as the sitewide gallery archive share same url.
Can you please share that?
Also, before you do that, can you please visit MediaPress->Settings->Sitewide Gallery and try changing the slugs there to some random strings and then checking again the gallery.
Thank you
BrajeshThanks Brajesh.
Quick Note: I had been using youtube links for my videos. I manually applied images to each gallery video. Now the youtube videos are not embeded. i click the thumbnail and all i get is the URL for the post or something
// Generated by the MediaPress Debug tool //
Multisite: No
SITE_URL: http://clan.olladitan.com
HOME_URL: http://clan.olladitan.comWordPress Version: 4.9.6
Permalink Structure: /%year%/%monthnum%/%day%/%postname%/Active Theme: Coral Dark 1.1.0
Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, spam
// Browser Details //
Browser Name: Chrome
Browser Version: 67.0.3396.99
Browser User Agent String: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
Platform: Windows
// End Browser Section //PHP Version: 7.0.30
PHP Extensions: Core,date,libxml,openssl,pcre,sqlite3,zlib,bz2,calendar,ctype,curl,hash,filter,ftp,gettext,gmp,SPL,iconv,pcntl,readline,Reflection,session,standard,shmop,SimpleXML,mbstring,tokenizer,xml,litespeed,bcmath,dom,fileinfo,gd,imagick,imap,inotify,intl,json,exif,mcrypt,mysqli,mysqlnd,PDO,pdo_mysql,pdo_sqlite,Phar,posix,soap,xmlreader,xmlrpc,xmlwriter,xsl,zip
GD enabled: Yes//GD Info
GD Version: bundled (2.1.0 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
GIF Read Support: 1
GIF Create Support: 1
JPEG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
WebP Support: 1
JIS-mapped Japanese Font Support:
// End GD InfoMySQL Version: 5.6.39-cll-lve
Web Server Info: ApacheWordPress Memory Limit: 40M
PHP Safe Mode: No
PHP Memory Limit: 256M
PHP Upload Max Size: 2M
PHP Post Max Size: 8M
PHP Upload Max Filesize: 2M
PHP Time Limit: 30
PHP Max Input Vars: 1000
PHP Arg Separator: &
PHP Allow URL File Open: Yes
WP_DEBUG: Disabled
SCRIPT_DEBUG: Disabled// Table Prefix //
Table Prefix: wp_Show On Front: page
Page On Front: Welcome (#193)
Page For Posts: News (#117)Session: Disabled
Session Name: PHPSESSID
Cookie Path: /
Save Path: /tmp
Use Cookies: On
Use Only Cookies: OnDISPLAY ERRORS: N/A
FSOCKOPEN: Your server supports fsockopen.
cURL: Your server supports cURL.
SOAP Client: Your server has the SOAP Client enabled.
SUHOSIN: Your server does not have SUHOSIN installed.ACTIVE PLUGINS:
BuddyPress: 3.1.0
Content Views: 2.0.2
Elementor: 2.0.16
Jetpack by WordPress.com: 6.2.1
MediaPress: 1.4.0
Menu Image: 2.9.1
Post Grid: 2.0.27
Remove WP Branding: 1.0.6// MediaPress Settings //
active_components: sitewide,members,groups
default_status: public
active_statuses: public,private,loggedin
active_types: photo,video,audio
extensions: jpeg,jpg,gif,png,mp4,flv,mpeg,mp3,wmv,midi,zip,gz,doc,pdf,docx,xls
size_thumbnail: 200,200,1
size_mid: 350,350,1
size_large: 600,600
single_media_size: large
lightbox_media_size: large
mpp_upload_space: 10
mpp_upload_space_groups: 10
show_upload_quota: 0
show_max_upload_file_size: 1
default_storage: local
enable_remote: 1
enable_remote_file: 0
download_remote_file: 0
enable_oembed: 1
enable_debug: 0
enable_gallery_archive: 1
gallery_archive_slug: http://clan.olladitan.com/gallery/
gallery_permalink_slug: http://clan.olladitan.com/gallery/user-galleries
sitewide_active_types: photo,video,audio
sitewide_photo_gallery_default_view: default
sitewide_video_gallery_default_view: default
sitewide_audio_gallery_default_view: default
has_gallery_directory: 1
activity_upload: 1
activity_disable_auto_file_browser: 0
activity_photo_default_view: default
activity_video_default_view: default
activity_audio_default_view: default
show_orphaned_media: 0
delete_orphaned_media: 0
activity_media_display_limit: 6
members_active_types: photo,video,audio
members_enable_type_filters: 1
members_photo_gallery_default_view: default
members_video_gallery_default_view: default
members_audio_gallery_default_view: default
groups_active_types: photo,video,audio
groups_photo_gallery_default_view: default
groups_video_gallery_default_view: default
groups_audio_gallery_default_view: default
enable_group_galleries_default: yes
contributors_can_edit: 1
contributors_can_delete: 1
groups_enable_my_galleries: 1
galleries_per_page: 12
media_per_page: 20
media_columns: 4
gallery_columns: 4
show_gallery_description: 0
show_media_description: 0
enable_audio_playlist: 1
enable_video_playlist: 1
gdoc_viewer_enabled: 1
enable_media_comment: 1
enable_gallery_comment: 1
load_lightbox: 0
enable_activity_lightbox: 0
enable_gallery_lightbox: 0
enable_lightbox_in_gallery_media_list: 0// End of MediaPress Settings //
- This reply was modified 6 years, 4 months ago by Buko.
Hi Buko,
From the above I can see the issue. The problem lies with the settings of archive page.
1. Please do not use “gallery” in the sitewide archive slug if you have BuddyPress gallery directory enable(You have it enabled and the page has ‘gallery’ as slug). They need to be different.
2. sub path is not recognized. You are using “gallery/user-galleries” in the single gallery permalink slug. It is breaking the gallery link for sitewide. You should instead use “user-galleries” or anything like. WordPress does not allow the archive and the single post to share same prefix.
The above step will fix the broken link issue.
About Updating Link:- In MediaPress, changing a media is not supported. You can update the details(e.g. title/status/description etc) but can not replace media. You will need to delete link and add new links(Links are treated as media here).
Also, if you are looking to enable lightbox:- Please visit MediaPress->settings->Themes section and you will find the options to enable it.
Hope that helps.
Regards
BrajeshThanks for the help Brajesh. The Site Gallery Link is no longer broken. I still have a problem with my videos. I am not very interested in changing the video once it has uploaded
Here is my problem:
If I add a new youtube video to my gallery, the thumbnail is just a black camera icon. When I click edit->”upload new cover” the new cover image appears. However the video no longer works. Instead there is just url. if you visit my site you will see that the only video that works is the one where I have not uploaded a new cover.
I would like to solve this so that if users try to upload a new cover image that does not break the video.
The topic ‘ [Resolved] Grid for site gallery.’ is closed to new replies.