Title: Wp-ImageZoom
Author: aueda
Published: <strong>17. oktobra 2011</strong>
Last modified: 9. oktobra 2013

---

Tykače pytać

![](https://s.w.org/plugins/geopattern-icon/wp-imagezoom.svg)

# wp-imagezoom

 Wot [aueda](https://profiles.wordpress.org/aueda/)

 * [Podrobnosće](https://hsb.wordpress.org/plugins/wp-imagezoom/#description)
 * [Pohódnoćenja](https://hsb.wordpress.org/plugins/wp-imagezoom/#reviews)
 * [Wuwiće](https://hsb.wordpress.org/plugins/wp-imagezoom/#developers)

 [Podpěra](https://wordpress.org/support/plugin/wp-imagezoom/)

## Wopisanje

Tutón tykač je so dnja 14. oktobra 2024 zawrěł a njeje za sćehnjenje k dispoziciji.
Přičina: Wěstotny problem.

## Pohódnoćenja

![](https://secure.gravatar.com/avatar/76f0b6353427f80b5329903b5d34b490dcebfa54873d99308c5a7c2428666885?
s=60&d=retro&r=g)

### 󠀁[Works on 4.9, but bug found](https://wordpress.org/support/topic/works-on-4-9/)󠁿

 [Cornwell](https://profiles.wordpress.org/cornwell/) 23. měrca 2018

An update to my earlier comment, see below: The code in wp-imagezoom.php makes an
assumption that may not hold true if the code is being called successively with 
very little time between calls (I suspect a search engine crawler). The function
wpImageZoom_makePrmID checks for the non-existence of the PrmID but leaves it to
the caller to insert the PrmID in the database table. This can lead to two entries
in the table with the same prmid. The solution I suggest is first to make prmid 
in table izoomparam the Primary key so that duplicate entries cannot occur. then
replace the code at lines 119-212 in the current version which say if (count($result2)
==0) { $prmid = wpImageZoom_makePrmID(); $wpdb->insert( $wpdb->prefix . ‚izoomparam‘,
array( ‚imgid‘ => $imgid, ‚prmid‘ => $prmid, ‚complevel‘ => $complevel, ‚zoomstep‘
=> $maxzoomstep, ‚maxzoomrate‘ => $maxzoomrate, ‚zoomstep‘ => $zoomstep, ‚downloadable‘
=> $downloadable) ); } else { $prmid = $result2[0]->prmid; } with if (count($result2)
==0) { $prmid = wpImageZoom_makePrmID($imgid); } else { $prmid = $result2[0]->prmid;}
and to replace the entire function wpImageZoom_makePrmID on lines 238-249 with function
wpImageZoom_makePrmID($imgid) { global $wpdb; do { $id = „“; for ($i=0; $i<5; $i
++) { $id .= substr(„0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz“,
mt_rand(0,61), 1); } $insertSQL = array( ‚imgid‘ => $imgid, ‚prmid‘ => $id, ‚complevel‘
=> -1, ‚zoomstep‘ => -1, ‚maxzoomrate‘ => -1, ‚zoomstep‘ => -1, ‚downloadable‘ =
> -1 ); $result2 = $wpdb->insert( $wpdb->prefix . ‚izoomparam‘, $insertSQL); } while(!
result2); return $id; } This inserts the PrmID but it will only work if the key 
does not exist, if the key exists it goes round the loop again. ——————————————————————————–
Successfully installed on 4.9.2 and it does just the job I wanted it for. I moved
the work directory and made it writeable, as suggested by MartinW2. As I only have
three images, I cut back the amount of cache allocated (this is one of the settings).
It would be nice if one could put a heading on the zoom page, and also include an
exit button in the menu. As it’s open source I may look at doing this later. It’s
these small omissions that mean I give it four stars rather than five. Roger Cornwell

![](https://secure.gravatar.com/avatar/a4374d7c1d6a424d184c76f7aa2a978d2daa3e0585befc4ab857589e556f8c84?
s=60&d=retro&r=g)

### 󠀁[Works fine even with WP 4.5!](https://wordpress.org/support/topic/works-fine-even-with-wp-45/)󠁿

 [MartinW2](https://profiles.wordpress.org/martinw2/) 3. septembra 2016

Hey guys – all those with ‚black screen‘ and ‚no response‘: Please read the manual
at http://tempspace.net/plugins/files/WP-ImageZoom_manual_en_111208.pdf The critical
steps are: – the image should show a lower resolution in the post or page, but MUST
BE LINKED to a higher resolution version as described – there are SETTINGS available
for the plugin, and within these settings there is a link to a folder on your server.
This folder must exist and has to be WRITABLE as described. If it’s not writable,
you will have a no-response black screen, so have a look. Following these steps,
the plugin works like a charm even in 4.5 BTW: ‚Demo2‘ from the demo page is working.
Last but not least: Thanks for the plugin to the author!

 [ Čitajće 6 pohódnoćenjow ](https://wordpress.org/support/plugin/wp-imagezoom/reviews/)

## Sobuskutkowarjo a wuwiwarjo

„Wp-ImageZoom“ je softwara wotewrjeneho žórła. Slědowacy ludźo su k tutomu tykačej
přinošowali.

Sobuskutkowarjo

 *   [ aueda ](https://profiles.wordpress.org/aueda/)

[Přełožće „Wp-ImageZoom“ do swojeje rěče.](https://translate.wordpress.org/projects/wp-plugins/wp-imagezoom)

### Na wuwiću zajimowany?

[Přehladajće kod](https://plugins.trac.wordpress.org/browser/wp-imagezoom/), hladajće
do [SVN-repozitorija](https://plugins.svn.wordpress.org/wp-imagezoom/) abo abonujće
[wuwiwanski protokol](https://plugins.trac.wordpress.org/log/wp-imagezoom/) přez
[RSS](https://plugins.trac.wordpress.org/log/wp-imagezoom/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.1.0**
 *  Last updated **13 lět**
 *  Active installations **N/D**
 *  WordPress version ** 3.6.0 abo nowši **
 *  Tested up to **3.6.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-imagezoom/)
 *  [Rozšěrjeny napohlad](https://hsb.wordpress.org/plugins/wp-imagezoom/advanced/)