Download & Extend

Image not found - translation module problem?

Project:Pdfview
Version:5.x-1.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi,

is someone using pdfview with the translation module enabled? I got this msg from pdfview:
TCPDF error: Missing or incorrect image file: de/files/imagecache/thumbnail/spieler/st.jpg

the file exists, so i think its because the "de/" isn't it?

hm or its because i use xampp over my local network?

greetz
age_Q

Comments

#1

I just ran into the same problem.

In function _pdfview_rewrite_image_url() of pdfview.module, add the following code before the last line (return $path;):

if (module_exists('i18n')) {
// remove language from path
i18n_get_lang_prefix($path, TRUE);
}

nobody click here