Jump to content

Problème URL Rewriting & Images Miniatures avec Image Enlarge v1.3


Recommended Posts

Bonjour,

J'ai activé aujourd'ui les URL Rewriting et j'ai un problème j'ai iMageEnlarge v1.3 (je crois) pour que mes images soit zoomées sur ma page d'accueil. En local ou sans les URL Rewriting ca fonctionne niquel :)

Par contre quand les URL sont activées sur mon hébergeur ça m'affiche les images mais toutes petites et pas du tout centrées.

PS : Je suis chez HostPapa.eu

Que dois-je faire?

Je veux laisser les URL Simplifié pour mon bon référencement :) :)

Cordialement

Link to comment
Share on other sites

Problème résolu il dufft de mofifier le code dans le .js

Trouvez ces ligne :

var largeImg = imgPath+imgName.substr(0, imgName.length-9)+"-large.jpg";
var thickImg = imgPath+imgName.substr(0, imgName.length-9)+"-thickbox.jpg";
var homeImg = imgPath+imgName.substr(0, imgName.length-9)+"-home.jpg";
var smallImg = imgPath+imgName.substr(0, imgName.length-9)+"-small.jpg";


Les Remplacer par :


var largeImg = imgPath.replace(/-home/,"-large")+imgName.substr(0, imgName.length-9)+".jpg";
var thickImg = imgPath.replace(/-home/,"-thickbox")+imgName.substr(0, imgName.length-9)+".jpg";
var homeImg = imgPath.replace(/-home/,"-home")+imgName.substr(0, imgName.length-9)+".jpg";
var smallImg = imgPath.replace(/-home/,"-small")+imgName.substr(0, imgName.length-9)+".jpg";


:-) A +++

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...