Lumia-bxslider in Wordpress (lumia-bxslider wordpress plugin) - php

I am using "D5 Socialia" theme Version 1.2.8, WordPress 3.7 and installed lumia-bxslider slider plugin to my site.
I encountered these issues:
- Height which I set from admin panel doesn't work.
- Now bullets or next previous button is appeared.
- I can not understand the functionality of.
->Prev Images Path
->Next Images Path
->Pager Images Path
->Pager Active Images Path
Above given options in lumia-bxslider plugin settings.

I think by this time you have already solved this issue. But probably somebody will come
across it in the future.
So just like most slider plugins, you may override the default css, images and etc.
Below is for your question.
->Prev Images Path : The path to the image icon. (i.e. /wp-content/themes/yourtheme/imagefolder/usual_left_arrow_icon.png)
->Next Images Path : The path to the image icon. (i.e. /wp-content/themes/yourtheme/imagefolder/usual_right_arrow_icon.png)
->Pager Images Path : The path to the image icon. (i.e. /wp-content/themes/yourtheme/imagefolder/bullets_inactive.png)
->Pager Active Images Path : The path to the image icon. (i.e. /wp-content/themes/yourtheme/imagefolder/bullets_active_usually_blue_or_black.png)
Regarding the height, the developer noted that sizes are determined by getting the image size/dimension and the plugin does not resize images. If really needed, I recommend that you download a mass image re-sizer plugin or use Wordpress' core image editor.
If there's no images appearing, you may have entered an incorrect path. I assume that you are getting 404 error from your browser's developer console.
I suggest that you always get the updated plugin.
Below are the links for updating it:
http://wordpress.org/plugins/lumia-bxslider/
https://github.com/wp-plugins/lumia-bxslider

Related

ckfinder 3.4.5 - Does it still create thumbnails upon upload?

I've been using ckeditor4 for ages in my custom CMS and I've just integrated ckfinder3 so I can use drag & drop image uploading via ckeditor4. Everything is working properly and I have it resizing images upon upload (set in ckfinder/config.php) - all good.
My issue is I want it to create a thumbnail of the image too, as it did in the past (I've been using an earlier version of ckfinder). They used to be uploaded to userfiles/_thumbs/images/ but now it doesn't seem to do it.
I have a few custom bits set up for my editor such as a custom config file and custom contents.css but they shouldn't have any effect on this. My editor code from within my CMS is below, all pretty straightforward stuff and it all works except for the fact that uploading images using drag & drop doesn't create a thumbnail too.
A point to note that if clicking on the 'image' button on the ckeditor toolbar, then uploading the usual way - browse server/upload etc, the system does create a thumbnail and places it in the folder here: userfiles/.ckfinder/cache/thumbs/images/theUploadedImage/theUploadedImage.jpg
Any pointers would be gratefully received. I hope this makes sense!
Thanks
<textarea name="blog_text"></textarea>
<script>
CKEDITOR.replace( 'blog_text', {
customConfig: 'mycustomfolder/myconfig.js',
contentsCss: CKEDITOR.getUrl( 'mycustomfolder/mycontents.css' ),
filebrowserBrowseUrl: 'ckfinder3.4.5/ckfinder.html',
filebrowserImageBrowseUrl: 'ckfinder3.4.5/ckfinder.html?type=Images',
filebrowserUploadUrl: 'ckfinder3.4.5/core/connector/php/connector.php?command=QuickUpload&type=Files',
filebrowserImageUploadUrl: 'ckfinder3.4.5/core/connector/php/connector.php?command=QuickUpload&type=Images'
} );
</script>
The paths and the methods of creating them were chnaged in CKFinder 3. Assuming that you are using default configuration, all thumbnails are being created inside /userfiles/.ckfinder/cache/thumbs/ folder and are on CKFinder private use only. They actually were for private use in CKF 2.x as well but users liked to abuse that.
Thumbnails get also created if you use, available in Popup and CKEditor integrations, "Choose Scaled" option. In that case scaled image gets created inside /MainFilesFolder/resourceTypeFolder/__thumbs/NameOfImage.extension/NameOfImage__widthxheight.extension e.g. /userfiles/images/__thumbs/Students.jpg/Students__480x320.jpg.
You can somewhat change the location of private directory through https://ckeditor.com/docs/ckfinder/ckfinder3-php/configuration.html#configuration_options_privateDir but please note that end of path resourceTypeName/theUploadedImage/theUploadedImage.jpg will not change.
There is also a simple plugin available online which allows generating thumbs on file upload. Perhaps this is something that might suit you or something that can be used as a jump start to create your own custom plugin: https://gist.github.com/zaak/7bb61025bfd9d3a6633029b0b4b087f9.

Joomla Image path on article pages

This is driving me insane!
My joomla image folder is "images"
Images appear fine on my home page
when I create an article the image path turns into article_name/images but the correct path is /images and in global + media settings it shows images
I disabled SEF, cleared cache F -no difference
I tried to disable URL rewriting - no difference
Even the site logo path changes on a article page to article_name/images/imagename.jpg when it should be images/imagename.jpg
The joomla site is installed in the public_html folder
Is there a rewrite condition I can use in htaccess file to make sure images always load from the images folder and do not have the article name added?
I found a link which might solve the problem. Here's the link: https://forum.joomla.org/viewtopic.php?t=298582
Modify inlcudes/application.php at row 108, from this:
Code: Select all
$document->setBase(JURI::current());
to this:
Code: Select all
$document->setBase(JURI::base())
;

Problems with wordpress slider -> Cyclone2

I have a question about wordpress slider plugin Cyclone2.
Problem is that when I upload and add an image to slider, it outputs incorrect src url for img tag on site page, like adding slider width and height to image url..
Ex. I upload image Champagne-All-Bottles.jpg.
In admin panel image loads successfuly: /wp-content/uploads/2015/12/Champagne-All-Bottles.jpg
but on site page it adds a width and height to img url like: /wp-content/uploads/2015/12/Champagne-All-Bottles-1200x400.jpg
HTML admin panel(correct):
HTML output on site page(incorrect url):
This plugin probaly makes an 1200*400 picture copy of the one you are giving because somewhere in the settings you say that the slider should be 1200*400 pixels. So the plugin is transforming your picture to the dimensions of the slider. Is there somewhere in the settings of the plugin something where you can adjust the dimensions?
A lot of WordPress plugins do this, and even WordPress itself is doing this. Making different dimension copies of images you upload.
EDIT: I searched the plugin you are talking about and in I think in basic settings the "width" and "height" are there so you can change the dimensions. But one thing, all images uploaded will get the same dimensions, thats how this (and a lot of other) WordPress plugin works.
Note: if you set "Width Management" to fixed, the plugin probably stops resizing your image, can you give it a try?
-Resize Images?
-No, shut up!
#TotalCare, thank you for your help :)

My Wordpress site creating the issue pixelated in upload jpg file?

From two days i am shocking and have surprize, if upload the jpg image in wordpress site via
media then its make my image pixelated. Even image fine. If i upload png image then its working fine. But any jpg upload in correct format but when see in browser then its come pixelated and blur check below link, first time you see this fine but when you refresh then you see its come blurred.
http://www.edarabia.com/wp-content/uploads/2014/11/prince-andrew-visits-british-school-al-khubairat2.jpg
IF you check here then its show fine
http://www.edarabia.com/102810/prince-andrew-visits-british-school-al-khubairat/
Even i done all plugin setting default restore and done many experiment but this problem not solved.
Thanks
General answer to "my Wordpress site has issue":
disable plugins - if problem gone, enable plugins one by and and test again.
check functions.php for extra functionality - try to remove all filters here.
test with some default theme. IF problem solved - issue was on theme.

Wordpress image slider on Google App Engine can't access images on Google Cloud Storage

I have set up a Wordpress web site using the Customizr theme, including an image slider. Everything works perfectly on my local computer, but when I deploy to Google App Engine (GAE), the images aren't displayed in the slider. I have uploaded them, and I can see them in the wp-admin Media section. They are stored on Google Cloud Storage with URLs like https://storage.googleapis.com/<bucket-name>/<image-name>.jpg, and I can access them over http on those URLs. However, the image slider on my deployed WP site does not display any images. All image URLs in the slider are invalid, looking like
http://lh3.ggpht.com/dQWB2UTfQKJMkQIqFBG1TL3PbgYq4GKvf88HjZdbrQQXObIGtz4rTmVkD_vfEk6EXXIm0yOGmzy2UtQv5kw3YCU4f0g-98WUrQ=s99999-c
I have imported the data from my local setup using the XML export/import feature of Wordpress. I have activated the "Google App Engine for WordPress" plugin.
In the developer console of my browser, I get a load of error messages like these:
Type 1:
The page at 'https://wp-dot-xxx-yyy-123.appspot.com/' was loaded over HTTPS,
but displayed insecure content from 'http://lh4.ggpht.com/7SVmfoMBnl1kQ1su2cWZZTYQbO9KDzeuWql2TPvbnEdAS8T3N9OmUz1fv86Fws9OhoTc_7MEWjpa8MNubBHOxIJrWk4m4_NH=s99999-c':
this content should also be loaded over HTTPS.
Type 2:
Failed to load resource: the server responded with a status of 404 (Not Found)
http://lh3.ggpht.com/dQWB2UTfQKJMkQIqFBG1TL3PbgYq4GKvf88HjZdbrQQXObIGtz4rTmVkD_vfEk6EXXIm0yOGmzy2UtQv5kw3YCU4f0g-98WUrQ=s99999-c
Those are the image URLs used in the generated HTML on the deployed site, and they are all invalid. They seem to be generated by the appengine-wordpress-plugin, because disabling it results in normal URLs. The bad URLs only occur in context of the image slider and featured images, though, not for images inserted in posts, for example.*
UPDATE:
There are two problems here: 1) Invalid URLs and 2) http instead of https.
Issue 2) has nothing to do with Customizr, it seems to be a GAE
issue.
Issue 1) can be partly fixed in Customizr by a) either disabling "full-width slider" in the admin section OR by b) modifying the file wp-content/themes/customizr/inc/class-fire-init.php.
Option b) will give you a full-width slider, but the images will be cropped and scaled incorrectly. Anyway, here is the modification:
On row 70:
$this -> slider_full_size = array('width' => 99999 , 'height' => 500, 'crop' => true );
Replace the 'width' value by a smaller number, like 9990 (note: four digits instead of five, and less than 9999).
It would be great with a proper fix for this problem, though.
I just uploaded a new version of the plugin (v1.4) which gives you an option to generate https URLs for the uploaded media files, which should one of your problems.
The second problem we can also fix in the plugin, once I understand what it's trying to do. Why does the slider want to pass a width of 99999? Does it just want to crop to the height of 500 and keep the aspect ratio so it passes a rubbish value for width?

Categories