Skip to main content
removed tags from title
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

D7 FileField Paths works bad when upload image - the wrong way comes?

added 454 characters in body; edited title
Source Link
tlito
  • 519
  • 4
  • 16

D7 on my VPSFileField Paths works bad when upload photo in field thumbnail does not showimage - the wrong way comes?

I have my VPS that is configured not at all right waywith two sites: in first i have FileField Paths and it works bad. In second i have no FileFiled Paths and everything ok.

The error is this:

When I choose photo toin the Image field Picture and press "upload" it showshows me blank image and when I open url address of this thumbnail - it shows 404. the thumbnail url is correct.

But the original image url is not corect. FileFiled paths make the original image url like this:

/system/temporary/filefield_paths/coctail-gold.jpg

but the pattern in Image field FileField paths settings is this:

blog_images/u[node:author:uid]/[current-date:custom:Y]

so this is the reasen why i see the blank image. 

But when I save the post thumbnail shows correctly, so file creates.

Please why JS cannot upload and create thumbnail on flywhat is wrong with FileField Paths?

D7 on my VPS when upload photo in field thumbnail does not show?

I have my VPS that is configured not at all right way.

When I choose photo to the field Picture and press "upload" it show me blank image and when I open url address of this thumbnail - it shows 404. But when I save the post thumbnail shows correctly, so file creates.

Please why JS cannot upload and create thumbnail on fly?

D7 FileField Paths works bad when upload image - the wrong way comes?

I have my VPS with two sites: in first i have FileField Paths and it works bad. In second i have no FileFiled Paths and everything ok.

The error is this:

When I choose photo in the Image field and press "upload" it shows me blank image and when I open url address of this thumbnail - it shows 404. the thumbnail url is correct.

But the original image url is not corect. FileFiled paths make the original image url like this:

/system/temporary/filefield_paths/coctail-gold.jpg

but the pattern in Image field FileField paths settings is this:

blog_images/u[node:author:uid]/[current-date:custom:Y]

so this is the reasen why i see the blank image. 

But when I save the post thumbnail shows correctly, so file creates.

Please what is wrong with FileField Paths?

Source Link
tlito
  • 519
  • 4
  • 16

D7 on my VPS when upload photo in field thumbnail does not show?

I have my VPS that is configured not at all right way.

When I choose photo to the field Picture and press "upload" it show me blank image and when I open url address of this thumbnail - it shows 404. But when I save the post thumbnail shows correctly, so file creates.

Please why JS cannot upload and create thumbnail on fly?