Anshul
Forum Replies Created
-
Please always share a link to your webpage where the error is occuring
Hi faile486
To remove the borders, open the Style.css file of the plugin and add this code :
div.cgview ul li, div.cgview ul li:hover {border:0 !important;}
To also remove the rounded corners, add this
div.cgview ul li, div.cgview ul li:hover {border:0 !important;-webkit-border-radius: 0!important;-moz-border-radius: 0!important;border-radius: 0!important;}
Closed
Im glad it worked for you. Im hereby closing this topic
Please always provide a link to the page where you have used the plugin
It is under the function : cg_get_image
just before the closing of the function
return '<a href='.$returnlink.'><img src="'.$cg_url.'/includes/timthumb.php?src='.urlencode($cg_img).'&h='.$size[1].'&w='.$size[0].'&zc=1&q='.$this->params['quality'].'" alt="'.$single->post_title.'" title="'.$single->post_title.'"/></a>';
Hi Korome,
You need not use the id and name arguments along with the tags argument.
try something like
[cgview num=9 tags=shop size=175x175 quality=100 paginate=9 lightbox=0]
Hi lady_r0gue,
Sorry for the late response.
I am afraid cgview does not have that functionality yet. It started off as just a photo gallery plugin. For showing complete posts in the lightbox i will have to make a php file similar to index.php or post.php of wordpress. Also, i will have to style it as i dont think it can pick up the style of an existing template.
Im sure i will work on it in the future.Open PLUGIN_DIR/category-grid-view-gallery/includes/CatGridView.php
go to line 94replace
src='.urlencode($cg_img).'
by
src='.urlencode(str_replace(get_option('siteurl'), '', $cg_img)).'
if this doesnt work, then replace it by
src='.str_replace(get_option('siteurl'), '', $cg_img).'
Try this :
Open PLUGIN_DIR/category-grid-view-gallery/includes/CatGridView.php
go to line 94replace
src='.urlencode($cg_img).'
by
src='.urlencode(str_replace(get_option('siteurl'), '', $cg_img)).'
if this doesnt work, then replace it by
src='.str_replace(get_option('siteurl'), '', $cg_img).'
Please provide me the link to the website where the error is occuring
faile486
Hi you can do all of the above that you mentioned using the arguments in the shortcode and the settings at the back end of wordpress.
Please see the Usage and Options section on my website.
You can disable the light box, use a featured image and you can modify the style.css file in the plugin directory to remove borders and change the looks of it.
Let me know if you need help with any of these
Let me work over it over the weekends. Still it will be a while, maybe a month for me to release an update. I barely get time to work on plugin development
Im not sure as to why this is happening. Seems like the CatGridPost.php file is not loading the post in the lightbox.
Also you are using 2 shortcodes in the same page ; 1 with the lightbox and one without it. Try using only one on a page.
That is possible. But it will require considerable amount of work from my side. I will work on the development as soon as i get some time