{"id":57219,"date":"2017-03-27T18:14:24","date_gmt":"2017-03-27T18:14:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/parallax-image\/"},"modified":"2024-11-15T14:59:09","modified_gmt":"2024-11-15T14:59:09","slug":"parallax-image","status":"publish","type":"plugin","link":"https:\/\/ast.wordpress.org\/plugins\/parallax-image\/","author":13127947,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.9.1","stable_tag":"1.9.1","tested":"6.7.5","requires":"4.5","requires_php":"7.0","requires_plugins":null,"header_name":"Parallax Image","header_author":"Howard Ehrenberg","header_description":"","assets_banners_color":"906150","last_updated":"2024-11-15 14:59:09","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.duckdiverllc.com\/parallax-image-plugin\/","header_plugin_uri":"https:\/\/www.duckdiverllc.com\/parallax-image-plugin\/","header_author_uri":"https:\/\/www.howardehrenberg.com","rating":5,"author_block_rating":0,"active_installs":2000,"downloads":56216,"num_ratings":10,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"thehowarde","date":"2017-04-01 21:52:30"},"1.0.1":{"tag":"1.0.1","author":"thehowarde","date":"2017-04-01 23:20:47"},"1.1":{"tag":"1.1","author":"thehowarde","date":"2017-04-02 10:51:41"},"1.1.1":{"tag":"1.1.1","author":"thehowarde","date":"2017-04-06 12:47:21"},"1.2":{"tag":"1.2","author":"thehowarde","date":"2017-06-03 16:24:44"},"1.2.1":{"tag":"1.2.1","author":"thehowarde","date":"2017-06-13 15:56:34"},"1.3":{"tag":"1.3","author":"thehowarde","date":"2017-06-20 15:12:40"},"1.4":{"tag":"1.4","author":"thehowarde","date":"2017-07-16 17:38:22"},"1.4.1":{"tag":"1.4.1","author":"thehowarde","date":"2017-08-29 10:56:49"},"1.4.2":{"tag":"1.4.2","author":"thehowarde","date":"2017-09-19 14:25:59"},"1.5":{"tag":"1.5","author":"thehowarde","date":"2018-12-08 00:18:53"},"1.6":{"tag":"1.6","author":"thehowarde","date":"2019-01-22 21:15:17"},"1.6.1":{"tag":"1.6.1","author":"thehowarde","date":"2019-05-06 17:30:41"},"1.7":{"tag":"1.7","author":"thehowarde","date":"2019-11-13 00:53:01"},"1.7.1":{"tag":"1.7.1","author":"thehowarde","date":"2022-05-15 10:31:05"},"1.8":{"tag":"1.8","author":"thehowarde","date":"2024-02-14 15:46:44"},"1.9":{"tag":"1.9","author":"thehowarde","date":"2024-10-16 14:09:57"},"1.9.1":{"tag":"1.9.1","author":"thehowarde","date":"2024-11-15 14:59:09"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"10"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1627242,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1627242,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.1","1.1.1","1.2","1.2.1","1.3","1.4","1.4.1","1.4.2","1.5","1.6","1.6.1","1.7","1.7.1","1.8","1.9","1.9.1"],"block_files":[],"assets_screenshots":{"screenshot-1.PNG":{"filename":"screenshot-1.PNG","revision":1627242,"resolution":"1","location":"assets","locale":""},"screenshot-2.PNG":{"filename":"screenshot-2.PNG","revision":1627242,"resolution":"2","location":"assets","locale":""},"screenshot-3.PNG":{"filename":"screenshot-3.PNG","revision":1627242,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":1733125,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"The shortcode implemented with the WordPress Twenty-Sixteen Theme","2":"Editor view of shortcode usage.","3":"A Parallax Window on a bootstrap theme with fullwidth template."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[138673,2693,138675,138674],"plugin_category":[],"plugin_contributors":[138676],"plugin_business_model":[],"class_list":["post-57219","plugin","type-plugin","status-publish","hentry","plugin_tags-full-screen-parallax","plugin_tags-parallax","plugin_tags-parallax-image","plugin_tags-parallax-window","plugin_contributors-thehowarde","plugin_committers-thehowarde"],"banners":{"banner":"https:\/\/ps.w.org\/parallax-image\/assets\/banner-772x250.png?rev=1627242","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/parallax-image\/assets\/icon-128x128.png?rev=1627242","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/parallax-image\/assets\/screenshot-1.PNG?rev=1627242","caption":"The shortcode implemented with the WordPress Twenty-Sixteen Theme"},{"src":"https:\/\/ps.w.org\/parallax-image\/assets\/screenshot-2.PNG?rev=1627242","caption":"Editor view of shortcode usage."},{"src":"https:\/\/ps.w.org\/parallax-image\/assets\/screenshot-3.PNG?rev=1627242","caption":"A Parallax Window on a bootstrap theme with fullwidth template."},{"src":"https:\/\/ps.w.org\/parallax-image\/assets\/screenshot-4.png?rev=1733125","caption":""}],"raw_content":"<!--section=description-->\n<p>This is a simple parallax image plugin that uses the parallax.js script by pixelcog - http:\/\/pixelcog.github.io\/parallax.js\/<\/p>\n\n<p>To insert your full width parallax image, simply use the [dd-parallax] shortcode.  Include text to be overlaid on the parallax between the open and close [\/dd-parallax] code.  This plugin has been tested with Wordpress 2014, 2015, 2016, and 2017 themes as well as a few themes that use Bootstrap.  I can't guarantee that it will work with all themes, but it's worth a shot.<\/p>\n\n<p>** Please note for WP 5.0 **\nCurrently this plugin works, but the TinyMCE button only works with the classic editor.  A Gutenberg widget is in the works.<\/p>\n\n<p>For example:<\/p>\n\n<pre><code>[dd-parallax img=\"imagename.jpg\" height=\"600\" speed=\"3\" z-index=\"-100\" mobile=\"mobile-image.jpg\" offset=\"true\"] \n\nText to be overlaid on the paralllax window\n\n[\/dd-parallax]\n<\/code><\/pre>\n\n<p>Available parameters for use:<\/p>\n\n<ul>\n<li>img - use the filename from the media library for this, not the full path.  Just use imagename.jpg or image.png. (You can also use a fully qualified URL)<\/li>\n<li>height - This is the height of the parallax window. The unit is in pixels.  Just enter a number<\/li>\n<li>speed [optional] (default = 2) An integer between 0 and 10.  The speed at which the parallax effect runs. 0 means the image will appear fixed in place, and 10 the image will flow at the same speed as the page content.<\/li>\n<li>z-index [optional] (default = 0) - The z-index value of the fixed-position elements. By default these will be behind everything else on the page.<\/li>\n<li>mobile [optional] - If you want a mobile fixed image for mobile display, choose a different image, otherwise it will select the full sized image from the parallax and make it a responsive image.<\/li>\n<li>offset [default = false] (options: \"true\" or \"false\") - This will pull the parallax content all the way to the left of your screen.  You can put the contents into a \"container\" class if you're using bootstrap or just center the contents for horizontal centering.  On testing with the WordPress 2016 Theme, keep offset at False.  With Bootstrap Themes, I recommend using the \"offset='true'\" parameter.<\/li>\n<li>position [optional] \u2013 (defaults to 'Left') This is analogous to the background-position-x css property. Specify coordinates as right, left, center, or pixel values (e.g. -10px 0px). The parallax image will be positioned as close to these values as possible while still covering the target element.<\/li>\n<li>text-pos [optional] - Default is 'top' (to maintain compatibility with ver 1.6).  Available options are \"top\", \"center\", \"bottom\".<\/li>\n<\/ul>\n\n<p>Admin-Settings page enables or disables the TinyMCE icon (if you don't want it in your WP-Editor)<\/p>\n\n<h3>Demo<\/h3>\n\n<p>View a demo of this plugin <a href=\"https:\/\/www.duckdiverllc.com\/parallax-image-plugin-demo\/\">here<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/parallax-image<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='i%27m%20not%20seeing%20the%20image%20on%20the%20screen%2C%20what%20did%20i%20do%20wrong%3F'><h3>I'm not seeing the image on the screen, what did I do wrong?<\/h3><\/dt>\n<dd><p>For this - there are 2 probable reasons that you're not seeing the parallax.\n    * First - Check to make sure that your img is only the file name, and not the full path.  If you view the media library in \"list\" mode yourdomain.com\/wp-admin\/upload.php?mode=list - there you'll see the filename with the .jpg or .png extension.\n    * Second - If not the first answer.  Check your z-index.  Changing the z-index will adjust the layering of your screen with CSS, and may need to be changed depending on how your theme displays the backgrounds and colors.  For more about z-index - <a href=\"https:\/\/www.w3schools.com\/cssref\/pr_pos_z-index.asp\">w3schools<\/a><\/p><\/dd>\n<dt id='can%20i%20have%20multiple%20parallax%20images%20on%20each%20page.'><h3>Can I have multiple parallax images on each page.<\/h3><\/dt>\n<dd><p>Yes<\/p><\/dd>\n<dt id='will%20this%20work%20on%20mobile%20devices'><h3>Will this work on mobile devices<\/h3><\/dt>\n<dd><p>For mobile devices, you can either have a totally separate mobile image by using the \u2018mobile\u2019 parameter in the shortcode, or you can just have the main parallax image resize itself and be responsive.<\/p><\/dd>\n<dt id='while%20i%E2%80%99m%20debugging%2C%20the%20mobile%20test%20doesn%E2%80%99t%20look%20right'><h3>While I\u2019m debugging, the mobile test doesn\u2019t look right<\/h3><\/dt>\n<dd><p>If you\u2019re resizing your browser window to check for responsiveness, the plugin uses mobile_detect, so you must either spoof your user agent, or test on a real mobile device.  You might have to refresh for it to work right.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.9.1<\/h4>\n\n<p>Update to address CVE ID: CVE-2024-11224<\/p>\n\n<h4>1.9<\/h4>\n\n<p>Update to address CVE ID: CVE-2024-9898<\/p>\n\n<h4>1.7.1<\/h4>\n\n<p>Add check of existence for offset js<\/p>\n\n<h4>1.7<\/h4>\n\n<p>Updated to work with Twenty Nineteen.  Added ability to position overlay text top, center, or bottom.<\/p>\n\n<h4>1.6<\/h4>\n\n<p>Updated Parallax.js source script to version 1.5 fixes some flickering when placed close to other objects.<\/p>\n\n<h4>1.5<\/h4>\n\n<p>Add TinyMCE button and options under settings menu<\/p>\n\n<h4>1.4<\/h4>\n\n<p>Fix for mobile image from external URL.<\/p>\n\n<h4>1.3<\/h4>\n\n<p>Added shortcode attribute \"offset\" to pull contents of Parallax Contents (text overlays) to the left.<\/p>\n\n<h4>1.2.1<\/h4>\n\n<p>Add ability to specify img source outside of media library or use full URL.<\/p>\n\n<h4>1.2<\/h4>\n\n<p>Added mobile_detect and mobile options to make the image responsive for mobile display and render better on mobile.  Added 'mobile' parameter to the shortcode as an option.<\/p>\n\n<h4>1.1.1<\/h4>\n\n<p>Added a Space to the style block to correct<\/p>\n\n<h4>1.1<\/h4>\n\n<p>Fixed Error<\/p>\n\n<h4>1.0.2<\/h4>\n\n<p>Removed extra js to keep lightweight<\/p>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Update Plugin URI<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial Release Version<\/li>\n<\/ul>","raw_excerpt":"Insert a full width parallax image into your page with this simple shortcode. Parameters allow for setting several key functions like height","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/57219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=57219"}],"author":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/thehowarde"}],"wp:attachment":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=57219"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=57219"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=57219"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=57219"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=57219"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=57219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}